jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1828537 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Date Fri, 06 Apr 2018 18:08:41 GMT
Author: pmouawad
Date: Fri Apr  6 18:08:41 2018
New Revision: 1828537

URL: http://svn.apache.org/viewvc?rev=1828537&view=rev
Log:
Fix SONAR warning

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=1828537&r1=1828536&r2=1828537&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
Fri Apr  6 18:08:41 2018
@@ -691,7 +691,7 @@ public class HTTPHC4Impl extends HTTPHCA
      * @return {@link HttpRequestBase}
      */
     private HttpRequestBase createHttpRequest(URI uri, String method, boolean areFollowingRedirect)
{
-        HttpRequestBase result = null;
+        HttpRequestBase result;
         if (method.equals(HTTPConstants.POST)) {
             result = new HttpPost(uri);
         } else if (method.equals(HTTPConstants.GET)) {



Mime
View raw message