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

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

@@ -190,10 +190,10 @@
      */
     public String toString() {
         StringBuilder sb = new StringBuilder();
         sb.append("[\n");
         sb.append(super.toString());
-        sb.append("  Maximum Path Length: " + maxPathLength + "\n");
+        sb.append("  Maximum Path Length: ").append(maxPathLength).append('\n');
         sb.append("]\n");
         return sb.toString();
     }
 }