From 98aad1bcbd899c6748a71a24488a44ef2e1b8bd2 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 23 Feb 2015 09:49:05 +0100 Subject: [PATCH] Remove unused constant --- .../org/elasticsearch/test/ElasticsearchIntegrationTest.java | 1 - .../java/org/elasticsearch/test/ElasticsearchThreadFilter.java | 1 - .../java/org/elasticsearch/threadpool/SimpleThreadPoolTests.java | 1 - 3 files changed, 3 deletions(-) diff --git a/src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java b/src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java index 3b6405b9f98..fe9b7b6343d 100644 --- a/src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java +++ b/src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java @@ -195,7 +195,6 @@ import static org.hamcrest.Matchers.*; public abstract class ElasticsearchIntegrationTest extends ElasticsearchTestCase { /** 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 TEST_CLUSTER_NODE_PREFIX = "node_t"; diff --git a/src/test/java/org/elasticsearch/test/ElasticsearchThreadFilter.java b/src/test/java/org/elasticsearch/test/ElasticsearchThreadFilter.java index 204962f989d..156d97d8339 100644 --- a/src/test/java/org/elasticsearch/test/ElasticsearchThreadFilter.java +++ b/src/test/java/org/elasticsearch/test/ElasticsearchThreadFilter.java @@ -36,7 +36,6 @@ public final class ElasticsearchThreadFilter implements ThreadFilter { private final Pattern nodePrefix = Pattern.compile("\\[(" + "(" + Pattern.quote(InternalTestCluster.TRANSPORT_CLIENT_PREFIX) + ")?(" + - Pattern.quote(ElasticsearchIntegrationTest.GLOBAL_CLUSTER_NODE_PREFIX) + "|" + Pattern.quote(ElasticsearchIntegrationTest.SUITE_CLUSTER_NODE_PREFIX) + "|" + Pattern.quote(ElasticsearchIntegrationTest.TEST_CLUSTER_NODE_PREFIX) + "|" + Pattern.quote(ExternalTestCluster.EXTERNAL_CLUSTER_PREFIX) + "|" + diff --git a/src/test/java/org/elasticsearch/threadpool/SimpleThreadPoolTests.java b/src/test/java/org/elasticsearch/threadpool/SimpleThreadPoolTests.java index 28cd227e0ab..aeb165a7a40 100644 --- a/src/test/java/org/elasticsearch/threadpool/SimpleThreadPoolTests.java +++ b/src/test/java/org/elasticsearch/threadpool/SimpleThreadPoolTests.java @@ -118,7 +118,6 @@ public class SimpleThreadPoolTests extends ElasticsearchIntegrationTest { continue; } 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.TEST_CLUSTER_NODE_PREFIX) + "|" + Pattern.quote(TribeTests.SECOND_CLUSTER_NODE_PREFIX) + ")";