jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1429427 - /jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java
Date Sat, 05 Jan 2013 23:43:38 GMT
Author: sebb
Date: Sat Jan  5 23:43:38 2013
New Revision: 1429427

URL: http://svn.apache.org/viewvc?rev=1429427&view=rev
Log:
Standardise on Locale.English - as recommended in String#toLowerCase()

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=1429427&r1=1429426&r2=1429427&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java Sat Jan  5 23:43:38 2013
@@ -108,7 +108,7 @@ public abstract class SSLManager {
         if (null == this.keyStore) {
             String fileName = System.getProperty(JAVAX_NET_SSL_KEY_STORE,""); // empty if
not provided
             String fileType = System.getProperty(JAVAX_NET_SSL_KEY_STORE_TYPE, // use the
system property to determine the type
-                    fileName.toLowerCase(Locale.UK).endsWith(".p12") ? PKCS12 : "JKS"); //
otherwise use the name
+                    fileName.toLowerCase(Locale.ENGLISH).endsWith(".p12") ? PKCS12 : "JKS");
// otherwise use the name
             log.info("JmeterKeyStore Location: " + fileName + " type " + fileType);
             try {
                 this.keyStore = JmeterKeyStore.getInstance(fileType, keystoreAliasStartIndex,
keystoreAliasEndIndex);



Mime
View raw message