Skip to content

Apache Lucene open-source search software

Fix camel case in method name

Shalin Shekhar Mangard512cd760474
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.java
index dbda3d883cf..51872c5a6cb 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
@@ -435,7 +435,7 @@ public class ZkStateReader implements Closeable {
refreshAliases(aliasesManager);
if (securityNodeListener != null) {
- addSecuritynodeWatcher(pair -> {
+ addSecurityNodeWatcher(pair -> {
ConfigData cd = new ConfigData();
cd.data = pair.first() == null || pair.first().length == 0 ? EMPTY_MAP : Utils.getDeepCopy((Map) fromJSON(pair.first()), 4, false);
cd.version = pair.second() == null ? -1 : pair.second().getVersion();
@@ -446,7 +446,7 @@ public class ZkStateReader implements Closeable {
}
}
- private void addSecuritynodeWatcher(final Callable<Pair<byte[], Stat>> callback)
+ private void addSecurityNodeWatcher(final Callable<Pair<byte[], Stat>> callback)
throws KeeperException, InterruptedException {
zkClient.exists(SOLR_SECURITY_CONF_PATH,
new Watcher() {