-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Configuration
-
None
-
Fully Compatible
-
Not Needed
In ClusterSettings constructor:
if (builder.srvHost.split("\\.").length < 3) { throw new IllegalArgumentException(format("An SRV host name '%s' was provided that does not contain at least three parts. " + "It must contain a hostname, domain name and a top level domain.", builder.hosts.get(0).getHost())); }
should be:
if (builder.srvHost.split("\\.").length < 3) { throw new IllegalArgumentException(format("An SRV host name '%s' was provided that does not contain at least three parts. " + "It must contain a hostname, domain name and a top level domain.", builder.srvHost)); }