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 2012/09/04 22:29:04 UTC
svn commit: r1380861 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
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;