The new zk state format (as introduced by SOLR-5473) should be supported by CollectionsAdminRequest/SolrJ Create() class.
Still to change the tests to use this instead.
Patch + test.
Patch that messes around less with the imports (didn't know idea by default optimized the imports on the fly).
Commit 1646558 from Anshum Gupta in branch 'dev/trunk'
[ https://svn.apache.org/r1646558 ]
SOLR-6523: Provide SolrJ support for specifying stateFormat while creating Collections
Commit 1646567 from Anshum Gupta in branch 'dev/trunk'
[ https://svn.apache.org/r1646567 ]
SOLR-6523: Fixing the test. Removing the unwanted check and calls
Commit 1646569 from Anshum Gupta in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1646569 ]
SOLR-6523: Provide SolrJ support for specifying stateFormat while creating Collections (merge from trunk)
Bulk close after 5.0 release.