jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1722345 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Date Wed, 30 Dec 2015 14:55:29 GMT
Author: pmouawad
Date: Wed Dec 30 14:55:29 2015
New Revision: 1722345

URL: http://svn.apache.org/viewvc?rev=1722345&view=rev
Log:
Delay variable declaration

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java?rev=1722345&r1=1722344&r2=1722345&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Wed Dec 30 14:55:29 2015
@@ -1079,9 +1079,8 @@ public class HTTPHC4Impl extends HTTPHCA
                if (arg.isSkippable(parameterName)){
                    continue;
                }
-               FormBodyPart formPart;
                StringBody stringBody = new StringBody(arg.getValue(), charset);
-               formPart = new FormBodyPart(arg.getName(), stringBody);                  

+               FormBodyPart formPart = new FormBodyPart(arg.getName(), stringBody);     
             
                multiPart.addPart(formPart);
             }
 



Mime
View raw message