src/java.naming/share/classes/com/sun/jndi/ldap/sasl/DefaultCallbackHandler.java

Print this page
rev 10521 : 8055723[core]: Replace concat String to append in StringBuilder parameters
Contributed-by: Otavio Santana <otaviojava@java.net>

*** 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");