You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2014/12/09 15:40:02 UTC
svn commit: r1644068 -
/httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
Author: sebb
Date: Tue Dec 9 14:40:02 2014
New Revision: 1644068
URL: http://svn.apache.org/r1644068
Log:
Immutable private field might as well be final
Modified:
httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
Modified: httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java?rev=1644068&r1=1644067&r2=1644068&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java (original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java Tue Dec 9 14:40:02 2014
@@ -77,8 +77,8 @@ public class SSLContextBuilder {
static final String TLS = "TLS";
private String protocol;
- private Set<KeyManager> keymanagers;
- private Set<TrustManager> trustmanagers;
+ private final Set<KeyManager> keymanagers;
+ private final Set<TrustManager> trustmanagers;
private SecureRandom secureRandom;
public static SSLContextBuilder create() {