hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1749988 - /httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java
Date Thu, 23 Jun 2016 19:41:08 GMT
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));



Mime
View raw message