Remove unused local variables in two tests.

This commit is contained in:
Christine Poerschke 2017-07-25 18:04:18 +01:00
parent 51b6840488
commit 936bb4abe9
2 changed files with 0 additions and 2 deletions

View File

@ -192,7 +192,6 @@ public class SolrMetricManagerTest extends SolrTestCaseJ4 {
@Test
public void testReporters() throws Exception {
Random r = random();
SolrResourceLoader loader = new SolrResourceLoader();
SolrMetricManager metricManager = new SolrMetricManager();

View File

@ -77,7 +77,6 @@ public class SolrCloudReportersTest extends SolrCloudTestCase {
String leaderRegistryName = core.getCoreMetricManager().getLeaderRegistryName();
String coreName = core.getName();
String collectionName = core.getCoreDescriptor().getCollectionName();
String coreNodeName = core.getCoreDescriptor().getCloudDescriptor().getCoreNodeName();
String replicaName = coreName.substring(coreName.indexOf("_replica_") + 1);
String shardId = core.getCoreDescriptor().getCloudDescriptor().getShardId();