src/java.base/share/classes/sun/security/x509/PolicyInformation.java

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

@@ -256,13 +256,13 @@
 
     /**
      * Return a printable representation of the PolicyInformation.
      */
     public String toString() {
-        StringBuilder s = new StringBuilder("  [" + policyIdentifier.toString());
-        s.append(policyQualifiers + "  ]\n");
-        return s.toString();
+        StringBuilder sb = new StringBuilder("  [" + policyIdentifier.toString());
+        sb.append(policyQualifiers).append("  ]\n");
+        return sb.toString();
     }
 
     /**
      * Write the PolicyInformation to the DerOutputStream.
      *