src/java.base/share/classes/com/sun/crypto/provider/DHPublicKey.java

Print this page
rev 10526 : 8038277: Improve the bootstrap performance of cacerts keystore (core and security)
Contributed-by: Otavio Santana <otaviojava@java.net>

@@ -266,12 +266,14 @@
                                + Debug.toHexString(this.y)
                                + LINE_SEP + "p:" + LINE_SEP
                                + Debug.toHexString(this.p)
                                + LINE_SEP + "g:" + LINE_SEP
                                + Debug.toHexString(this.g));
-        if (this.l != 0)
-            sb.append(LINE_SEP + "l:" + LINE_SEP + "    " + this.l);
+        if (this.l != 0) {
+            sb.append(LINE_SEP).append("l:").append(LINE_SEP)
+            .append("    ").append(this.l);
+        }
         return sb.toString();
     }
 
     private void parseKeyBits() throws InvalidKeyException {
         try {