hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1757447 - in /httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http: impl/auth/TestNTLMEngineImpl.java localserver/EchoHandler.java
Date Tue, 23 Aug 2016 22:27:15 GMT
Author: ggregory
Date: Tue Aug 23 22:27:14 2016
New Revision: 1757447

URL: http://svn.apache.org/viewvc?rev=1757447&view=rev
Log:
Use final.

Modified:
    httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/impl/auth/TestNTLMEngineImpl.java
    httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/localserver/EchoHandler.java

Modified: httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/impl/auth/TestNTLMEngineImpl.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/impl/auth/TestNTLMEngineImpl.java?rev=1757447&r1=1757446&r2=1757447&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/impl/auth/TestNTLMEngineImpl.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/impl/auth/TestNTLMEngineImpl.java
Tue Aug 23 22:27:14 2016
@@ -69,7 +69,7 @@ public class TestNTLMEngineImpl {
 
     /* Test suite MD4 helper */
     static void checkMD4(final String input, final String hexOutput) throws Exception {
-        NTLMEngineImpl.MD4 md4;
+        final NTLMEngineImpl.MD4 md4;
         md4 = new NTLMEngineImpl.MD4();
         md4.update(input.getBytes(StandardCharsets.US_ASCII));
         final byte[] answer = md4.getOutput();

Modified: httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/localserver/EchoHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/localserver/EchoHandler.java?rev=1757447&r1=1757446&r2=1757447&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/localserver/EchoHandler.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient5/src/test/java/org/apache/hc/client5/http/localserver/EchoHandler.java
Tue Aug 23 22:27:14 2016
@@ -76,7 +76,7 @@ public class EchoHandler implements Http
 
         // For some reason, just putting the incoming entity into
         // the response will not work. We have to buffer the message.
-        byte[] data;
+        final byte[] data;
         if (entity == null) {
             data = new byte [0];
         } else {



Mime
View raw message