Details
-
Bug
-
Resolution: Fixed
-
Minor - P4
-
None
-
None
-
Fully Compatible
-
Not Needed
Description
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));
|
}
|