jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1855694 - /jmeter/trunk/src/core/org/apache/jmeter/save/converters/ConversionHelp.java
Date Sun, 17 Mar 2019 13:05:46 GMT
Author: fschumacher
Date: Sun Mar 17 13:05:46 2019
New Revision: 1855694

URL: http://svn.apache.org/viewvc?rev=1855694&view=rev
Log:
Return value immediately

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/save/converters/ConversionHelp.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/save/converters/ConversionHelp.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/save/converters/ConversionHelp.java?rev=1855694&r1=1855693&r2=1855694&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/save/converters/ConversionHelp.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/save/converters/ConversionHelp.java Sun Mar 17
13:05:46 2019
@@ -95,8 +95,7 @@ public class ConversionHelp {
             return p;
         }
         try {
-            String p1 = URLEncoder.encode(p, CHAR_SET);
-            return p1;
+            return URLEncoder.encode(p, CHAR_SET);
         } catch (UnsupportedEncodingException e) {
             log.warn("System doesn't support {}", CHAR_SET, e);
             return p;



Mime
View raw message