diff --git a/solr/core/src/test/org/apache/solr/cloud/CreateCollectionCleanupTest.java b/solr/core/src/test/org/apache/solr/cloud/CreateCollectionCleanupTest.java index df7a2e2e30e..869f66cc39e 100644 --- a/solr/core/src/test/org/apache/solr/cloud/CreateCollectionCleanupTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/CreateCollectionCleanupTest.java @@ -17,7 +17,6 @@ package org.apache.solr.cloud; -import java.util.ArrayList; import java.util.Properties; import org.apache.solr.client.solrj.impl.CloudSolrClient; diff --git a/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java b/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java index 0aecdf9869a..7e30d5c7347 100644 --- a/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java @@ -38,7 +38,7 @@ import org.slf4j.LoggerFactory; @Slow public class RecoveryZkTest extends SolrCloudTestCase { - private static Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass()); + private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass()); @BeforeClass public static void setupCluster() throws Exception { @@ -140,7 +140,7 @@ public class RecoveryZkTest extends SolrCloudTestCase { } for (int j = 1; j < replicas.size(); j++) { if (numCounts[j] != numCounts[j - 1]) - fail("Mismatch in counts between replicas"); // nocommit improve this! + fail("Mismatch in counts between replicas"); // TODO improve this! if (numCounts[j] == 0 && expectDocs) fail("Expected docs on shard " + shard.getName() + " but found none"); }