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 2015/12/01 20:19:14 UTC
svn commit: r1717501 - in
/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http:
config/SocketConfig.java message/BasicHeaderIterator.java
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.