mirror of https://github.com/apache/lucene.git
check coll==null in CollectionRef.toString()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669214 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f0ea6a662d
commit
b741482d58
|
@ -394,7 +394,11 @@ public class ClusterState implements JSONWriter.Writable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
if (coll != null) {
|
||||||
return coll.toString();
|
return coll.toString();
|
||||||
|
} else {
|
||||||
|
return "null DocCollection ref";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue