Apache Lucene open-source search software
SOLR-9440: Revert visibility change of collectionWatches
Shalin Shekhar Mangar2e4b6929d2d7
diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java b/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.javaindex 2a24bda11c2..b70d2f1d63f 100644--- a/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java@@ -158,7 +158,7 @@ public class ZkStateReader implements Closeable {private final Runnable securityNodeListener;- public ConcurrentHashMap<String, CollectionWatch> collectionWatches = new ConcurrentHashMap<>();+ private ConcurrentHashMap<String, CollectionWatch> collectionWatches = new ConcurrentHashMap<>();private final ExecutorService notifications = ExecutorUtil.newMDCAwareCachedThreadPool("watches");