diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java b/solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java index d4d2ad95aad..a6719cc010f 100644 --- a/solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java +++ b/solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java @@ -160,8 +160,8 @@ public class ClusterState implements JSONWriter.Writable { /** * @return Map<collectionName, Map<sliceName,Slice>> - * @deprecated */ + @Deprecated public Map getCollectionStates() { return Collections.unmodifiableMap(collectionStates); }