From d2c177aee5ea62e5971835713089dceb246fec1b Mon Sep 17 00:00:00 2001 From: Tianli Feng Date: Wed, 9 Mar 2022 18:04:08 +0000 Subject: [PATCH] Modify deprecation javadoc Signed-off-by: Tianli Feng --- server/src/main/java/org/opensearch/cluster/ClusterState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/cluster/ClusterState.java b/server/src/main/java/org/opensearch/cluster/ClusterState.java index d6db5e0933332..a7c04e12247a4 100644 --- a/server/src/main/java/org/opensearch/cluster/ClusterState.java +++ b/server/src/main/java/org/opensearch/cluster/ClusterState.java @@ -404,7 +404,7 @@ public enum Metric { VERSION("version"), /** - * @deprecated Use CLUSTER_MANAGER_NODE instead, for promoting inclusive language. + * @deprecated As of 2.0, because promoting inclusive language, replaced by {@link CLUSTER_MANAGER_NODE} */ @Deprecated MASTER_NODE("master_node"),