src/java.base/share/classes/java/security/cert/LDAPCertStoreParameters.java

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

*** 139,149 **** */ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("LDAPCertStoreParameters: [\n"); ! sb.append(" serverName: " + serverName + "\n"); ! sb.append(" port: " + port + "\n"); ! sb.append("]"); return sb.toString(); } } --- 139,149 ---- */ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("LDAPCertStoreParameters: [\n"); ! sb.append(" serverName: ").append(serverName).append('\n'); ! sb.append(" port: ").append(port).append('\n'); ! sb.append(']'); return sb.toString(); } }