< prev index next >
src/java.naming/share/classes/com/sun/jndi/ldap/sasl/DefaultCallbackHandler.java
Print this page
rev 10947 : 8055723: Replace concat String to append in StringBuilder parameters
*** 88,98 ****
}
}
if (selected == -1) {
StringBuilder allChoices = new StringBuilder();
for (int j = 0; j < choices.length; j++) {
! allChoices.append(choices[j] + ",");
}
throw new IOException("Cannot match " +
"'java.naming.security.sasl.realm' property value, '" +
authRealm + "' with choices " + allChoices +
"in RealmChoiceCallback");
--- 88,98 ----
}
}
if (selected == -1) {
StringBuilder allChoices = new StringBuilder();
for (int j = 0; j < choices.length; j++) {
! allChoices.append(choices[j]).append(',');
}
throw new IOException("Cannot match " +
"'java.naming.security.sasl.realm' property value, '" +
authRealm + "' with choices " + allChoices +
"in RealmChoiceCallback");
< prev index next >