You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2017/05/11 18:18:00 UTC
[25/42] httpcomponents-core git commit: Use camel case for instance
variable names (which are all private and final.)
Use camel case for instance variable names (which are all private and final.)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794493 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/ee6629f8
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/ee6629f8
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/ee6629f8
Branch: refs/heads/4.4.x
Commit: ee6629f87fe0de951145bd53c8703402110e1f52
Parents: 54aaa3c
Author: Gary D. Gregory <gg...@apache.org>
Authored: Tue May 9 02:52:37 2017 +0000
Committer: Oleg Kalnichevski <ol...@apache.org>
Committed: Thu May 11 20:16:44 2017 +0200
----------------------------------------------------------------------
.../org/apache/http/ssl/SSLContextBuilder.java | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/ee6629f8/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
----------------------------------------------------------------------
diff --git a/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java b/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
index a2e68c4..ff4955f 100644
--- a/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
+++ b/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
@@ -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 + "]";
}
}