You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by no...@apache.org on 2022/10/13 05:44:11 UTC

[solr] branch jira/solr-16640 updated: more logging 8

This is an automated email from the ASF dual-hosted git repository.

noble pushed a commit to branch jira/solr-16640
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/jira/solr-16640 by this push:
     new 28b9a0b6764 more logging 8
28b9a0b6764 is described below

commit 28b9a0b67645a88969086e0aa60ef3914c48f56a
Author: Noble Paul <no...@gmail.com>
AuthorDate: Thu Oct 13 16:44:03 2022 +1100

    more logging 8
---
 .../src/java/org/apache/solr/common/cloud/ClusterState.java      | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

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 adacf2c8b5e..5f9d48cfee3 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
@@ -307,13 +307,10 @@ public class ClusterState implements JSONWriter.Writable {
     jsonWriter.write(map);
   }
 
-  /*@Override
+  @Override
   public int hashCode() {
-    final int prime = 31;
-    int result = 1;
-    result = prime * result + ((liveNodes == null) ? 0 : liveNodes.hashCode());
-    return result;
-  }*/
+  return super.hashCode();
+  }
 
   @Override
   public boolean equals(Object obj) {