You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2014/10/14 10:17:53 UTC
svn commit: r1631670 -
/jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java
Author: fschumacher
Date: Tue Oct 14 08:17:53 2014
New Revision: 1631670
URL: http://svn.apache.org/r1631670
Log:
Bug 56178 - Return value of String#replace has to be used.
Bugzilla Id: 56178
Modified:
jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java
Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java?rev=1631670&r1=1631669&r2=1631670&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java Tue Oct 14 08:17:53 2014
@@ -70,7 +70,7 @@ public class KeyToolUtils {
StringBuilder sb = new StringBuilder();
sb.append("CN=_ DO NOT INSTALL unless this is your certificate (JMeter root CA)"); // $NON-NLS-1$
String userName = System.getProperty("user.name"); // $NON-NLS-1$
- userName.replace('\\','/'); // Backslash is special (Bugzilla 56178)
+ userName = userName.replace('\\','/'); // Backslash is special (Bugzilla 56178)
addElement(sb, "OU=Username: ", userName); // $NON-NLS-1$
addElement(sb, "C=", System.getProperty("user.country")); // $NON-NLS-1$ $NON-NLS-2$
DNAME_ROOT_CA_KEY = sb.toString();