This line is the problem:
557
|
@Override
|
558
|
public String toString() {
|
559
|
return "{"
|
560
|
+ (hosts.isEmpty() ? "" : "hosts=" + hosts)
|
561
|
+ (srvHost == null ? "" : ", srvHost=" + srvHost)
|
562
|
+ (srvServiceName == null ? "" : ", srvServiceName=" + srvServiceName)
|
563
|
+ (srvMaxHosts == null ? "" : ", srvMaxHosts=" + srvMaxHosts)
|
564
|
+ ", mode=" + mode
|
565
|
+ ", requiredClusterType=" + requiredClusterType
|
566
|
+ ", requiredReplicaSetName='" + requiredReplicaSetName + '\''
|
567
|
+ ", serverSelector='" + serverSelector + '\''
|
568
|
+ ", clusterListeners='" + clusterListeners + '\''
|
569
|
+ ", serverSelectionTimeout='" + serverSelectionTimeoutMS + " ms" + '\''
|
570
|
+ ", localThreshold='" + serverSelectionTimeoutMS + " ms" + '\''
|
571
|
+ '}';
|
572
|
}
|