From aaf7e190fdd573a3808098a3ccafb38d5c1f1914 Mon Sep 17 00:00:00 2001 From: William Brafford Date: Thu, 16 Nov 2023 17:11:55 -0500 Subject: [PATCH] Remove comment --- .../src/main/java/org/elasticsearch/cluster/ClusterState.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/cluster/ClusterState.java b/server/src/main/java/org/elasticsearch/cluster/ClusterState.java index 86a43b260d564..e861ff3ecf27e 100644 --- a/server/src/main/java/org/elasticsearch/cluster/ClusterState.java +++ b/server/src/main/java/org/elasticsearch/cluster/ClusterState.java @@ -834,8 +834,6 @@ public Builder putCompatibilityVersions(String nodeId, CompatibilityVersions ver return this; } - // Deprecate to keep downstream projects compiling - public Builder nodeIdsToCompatibilityVersions(Map versions) { versions.forEach((key, value) -> Objects.requireNonNull(value, key)); // remove all versions not present in the new map