You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2016/06/23 19:41:08 UTC
svn commit: r1749988 -
/httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java
Author: ggregory
Date: Thu Jun 23 19:41:08 2016
New Revision: 1749988
URL: http://svn.apache.org/viewvc?rev=1749988&view=rev
Log:
Add final modifier to local variables.
Modified:
httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java
Modified: httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java?rev=1749988&r1=1749987&r2=1749988&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java (original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java Thu Jun 23 19:41:08 2016
@@ -115,7 +115,7 @@ public class TestTruncatedChunks extends
@Override
public int write(final ByteBuffer src) throws IOException {
- int chunk;
+ final int chunk;
if (!this.done) {
this.lineBuffer.clear();
this.lineBuffer.append(Integer.toHexString(GARBAGE.length * 10));