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 2017/05/09 02:52:37 UTC
svn commit: r1794493 -
/httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
Author: ggregory
Date: Tue May 9 02:52:37 2017
New Revision: 1794493
URL: http://svn.apache.org/viewvc?rev=1794493&view=rev
Log:
Use camel case for instance variable names (which are all private and 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=1794493&r1=1794492&r2=1794493&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 May 9 02:52:37 2017
@@ -79,8 +79,8 @@ public class SSLContextBuilder {
static final String TLS = "TLS";
private String protocol;
- private final Set<KeyManager> keymanagers;
- private final Set<TrustManager> trustmanagers;
+ private final Set<KeyManager> keyManagers;
+ private final Set<TrustManager> trustManagers;
private SecureRandom secureRandom;
private Provider provider;
@@ -90,8 +90,8 @@ public class SSLContextBuilder {
public SSLContextBuilder() {
super();
- this.keymanagers = new LinkedHashSet<KeyManager>();
- this.trustmanagers = new LinkedHashSet<TrustManager>();
+ this.keyManagers = new LinkedHashSet<KeyManager>();
+ this.trustManagers = new LinkedHashSet<TrustManager>();
}
/**
@@ -168,7 +168,7 @@ public class SSLContextBuilder {
}
}
for (final TrustManager tm : tms) {
- this.trustmanagers.add(tm);
+ this.trustManagers.add(tm);
}
}
return this;
@@ -245,7 +245,7 @@ public class SSLContextBuilder {
}
}
for (final KeyManager km : kms) {
- keymanagers.add(km);
+ keyManagers.add(km);
}
}
return this;
@@ -322,7 +322,7 @@ public class SSLContextBuilder {
} else {
sslContext = SSLContext.getInstance(protocolStr);
}
- initSSLContext(sslContext, keymanagers, trustmanagers, secureRandom);
+ initSSLContext(sslContext, keyManagers, trustManagers, secureRandom);
return sslContext;
}
@@ -454,8 +454,8 @@ public class SSLContextBuilder {
*/
@Override
public String toString() {
- return "[provider=" + provider + ", protocol=" + protocol + ", keymanagers=" + keymanagers
- + ", trustmanagers=" + trustmanagers + ", secureRandom=" + secureRandom + "]";
+ return "[provider=" + provider + ", protocol=" + protocol + ", keymanagers=" + keyManagers
+ + ", trustmanagers=" + trustManagers + ", secureRandom=" + secureRandom + "]";
}
}