murblanc commented on a change in pull request #2148:
URL: https://github.com/apache/lucene-solr/pull/2148#discussion_r551625950



##########
File path: solr/solrj/src/java/org/apache/solr/common/cloud/DocCollection.java
##########
@@ -292,7 +346,9 @@ public boolean isReadOnly() {
 
   @Override
   public String toString() {
-    return "DocCollection("+name+"/" + znode + "/" + znodeVersion + ")=" + 
toJSONString(this);
+    return "DocCollection("+name+"/" + znode + "/" + znodeVersion
+        + (perReplicaStates == null ? "": perReplicaStates.toString())+")="

Review comment:
       Do we want to add a space after the znodeVersion in the output if 
perReplicaStates is non null?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to