Remove unused constant

This commit is contained in:
Simon Willnauer 2015-02-23 09:49:05 +01:00
parent 221c7b6e30
commit 98aad1bcbd
3 changed files with 0 additions and 3 deletions

View File

@ -195,7 +195,6 @@ import static org.hamcrest.Matchers.*;
public abstract class ElasticsearchIntegrationTest extends ElasticsearchTestCase { public abstract class ElasticsearchIntegrationTest extends ElasticsearchTestCase {
/** node names of the corresponding clusters will start with these prefixes */ /** node names of the corresponding clusters will start with these prefixes */
public static final String GLOBAL_CLUSTER_NODE_PREFIX = "node_";
public static final String SUITE_CLUSTER_NODE_PREFIX = "node_s"; public static final String SUITE_CLUSTER_NODE_PREFIX = "node_s";
public static final String TEST_CLUSTER_NODE_PREFIX = "node_t"; public static final String TEST_CLUSTER_NODE_PREFIX = "node_t";

View File

@ -36,7 +36,6 @@ public final class ElasticsearchThreadFilter implements ThreadFilter {
private final Pattern nodePrefix = Pattern.compile("\\[(" + private final Pattern nodePrefix = Pattern.compile("\\[(" +
"(" + Pattern.quote(InternalTestCluster.TRANSPORT_CLIENT_PREFIX) + ")?(" + "(" + Pattern.quote(InternalTestCluster.TRANSPORT_CLIENT_PREFIX) + ")?(" +
Pattern.quote(ElasticsearchIntegrationTest.GLOBAL_CLUSTER_NODE_PREFIX) + "|" +
Pattern.quote(ElasticsearchIntegrationTest.SUITE_CLUSTER_NODE_PREFIX) + "|" + Pattern.quote(ElasticsearchIntegrationTest.SUITE_CLUSTER_NODE_PREFIX) + "|" +
Pattern.quote(ElasticsearchIntegrationTest.TEST_CLUSTER_NODE_PREFIX) + "|" + Pattern.quote(ElasticsearchIntegrationTest.TEST_CLUSTER_NODE_PREFIX) + "|" +
Pattern.quote(ExternalTestCluster.EXTERNAL_CLUSTER_PREFIX) + "|" + Pattern.quote(ExternalTestCluster.EXTERNAL_CLUSTER_PREFIX) + "|" +

View File

@ -118,7 +118,6 @@ public class SimpleThreadPoolTests extends ElasticsearchIntegrationTest {
continue; continue;
} }
String nodePrefix = "(" + Pattern.quote(InternalTestCluster.TRANSPORT_CLIENT_PREFIX) + ")?(" + String nodePrefix = "(" + Pattern.quote(InternalTestCluster.TRANSPORT_CLIENT_PREFIX) + ")?(" +
Pattern.quote(ElasticsearchIntegrationTest.GLOBAL_CLUSTER_NODE_PREFIX) + "|" +
Pattern.quote(ElasticsearchIntegrationTest.SUITE_CLUSTER_NODE_PREFIX) + "|" + Pattern.quote(ElasticsearchIntegrationTest.SUITE_CLUSTER_NODE_PREFIX) + "|" +
Pattern.quote(ElasticsearchIntegrationTest.TEST_CLUSTER_NODE_PREFIX) + "|" + Pattern.quote(ElasticsearchIntegrationTest.TEST_CLUSTER_NODE_PREFIX) + "|" +
Pattern.quote(TribeTests.SECOND_CLUSTER_NODE_PREFIX) + ")"; Pattern.quote(TribeTests.SECOND_CLUSTER_NODE_PREFIX) + ")";