jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1856125 - /jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java
Date Sat, 23 Mar 2019 19:25:15 GMT
Author: fschumacher
Date: Sat Mar 23 19:25:15 2019
New Revision: 1856125

URL: http://svn.apache.org/viewvc?rev=1856125&view=rev
Log:
Massage log messages

Use Integer#valueOf to make boxing of int explicit and use a string format.

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java?rev=1856125&r1=1856124&r2=1856125&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java Sat Mar 23 19:25:15 2019
@@ -133,7 +133,7 @@ public abstract class SSLManager {
                         if (log.isInfoEnabled()) {
                             log.info(
                                     "Total of {} aliases loaded OK from keystore",
-                                    keyStore.getAliasCount());
+                                    Integer.valueOf(keyStore.getAliasCount()));
                         }
                     }
                 } else {
@@ -207,7 +207,7 @@ public abstract class SSLManager {
             if (fileName == null) {
                 return null;
             }
-            log.info("TrustStore Location: " + fileName);
+            log.info("TrustStore Location: {}", fileName);
 
             try {
                 this.trustStore = KeyStore.getInstance("JKS");



Mime
View raw message