jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380861 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
Date Tue, 04 Sep 2012 20:29:04 GMT
Author: pmouawad
Date: Tue Sep  4 20:29:03 2012
New Revision: 1380861

URL: http://svn.apache.org/viewvc?rev=1380861&view=rev
Log:
remove useless brackets

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

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java?rev=1380861&r1=1380860&r2=1380861&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
Tue Sep  4 20:29:03 2012
@@ -362,7 +362,7 @@ public class HTTPHC3Impl extends HTTPHCA
         int headerSize = httpMethod.getStatusLine().toString().length()+2; // add a \r\n
         Header[] rh = httpMethod.getResponseHeaders();
         for (int i = 0; i < rh.length; i++) {
-            headerSize += (rh[i]).toString().length(); // already include the \r\n
+            headerSize += rh[i].toString().length(); // already include the \r\n
         }
         headerSize += 2; // last \r\n before response data
         return headerSize;



Mime
View raw message