hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1717501 - in /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http: config/SocketConfig.java message/BasicHeaderIterator.java
Date Tue, 01 Dec 2015 19:19:14 GMT
Author: ggregory
Date: Tue Dec  1 19:19:14 2015
New Revision: 1717501

URL: http://svn.apache.org/viewvc?rev=1717501&view=rev
Log:
Add final modifier to private fields.

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/config/SocketConfig.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/message/BasicHeaderIterator.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/config/SocketConfig.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/config/SocketConfig.java?rev=1717501&r1=1717500&r2=1717501&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/config/SocketConfig.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/config/SocketConfig.java
Tue Dec  1 19:19:14 2015
@@ -47,7 +47,7 @@ public class SocketConfig {
     private final boolean tcpNoDelay;
     private final int sndBufSize;
     private final int rcvBufSize;
-    private int backlogSize;
+    private final int backlogSize;
 
     SocketConfig(
             final int soTimeout,

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/message/BasicHeaderIterator.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/message/BasicHeaderIterator.java?rev=1717501&r1=1717500&r2=1717501&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/message/BasicHeaderIterator.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/message/BasicHeaderIterator.java
Tue Dec  1 19:19:14 2015
@@ -60,7 +60,7 @@ public class BasicHeaderIterator impleme
      * The header name to filter by.
      * {@code null} to iterate over all headers in the array.
      */
-    private String headerName;
+    private final String headerName;
 
     /**
      * Creates a new header iterator.



Mime
View raw message