You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2015/12/30 15:55:29 UTC

svn commit: r1722345 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java

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);
             }