From 2f5d9cd6bd51616eaab462951a839aa61ee57d48 Mon Sep 17 00:00:00 2001 From: Joe Gallo Date: Mon, 18 Oct 2021 10:05:10 -0400 Subject: [PATCH] This helper can be private --- .../xpack/deprecation/IndexDeprecationChecksTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecksTests.java b/x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecksTests.java index 4163c006e0692..283a98bcc4c94 100644 --- a/x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecksTests.java +++ b/x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecksTests.java @@ -722,7 +722,7 @@ public void testEmptyDataTierPreference() { } } - public static ClusterState clusterStateWithoutAllDataRoles() { + private static ClusterState clusterStateWithoutAllDataRoles() { DiscoveryNodes.Builder discoBuilder = DiscoveryNodes.builder(); List nodesList = org.elasticsearch.core.List.of( new DiscoveryNode("name_0", "node_0", buildNewFakeTransportAddress(), org.elasticsearch.core.Map.of(),