Add final modifier to private fields.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8a27962f79
commit
9d5dde271f
|
@ -164,8 +164,8 @@ public class CacheConfig implements Cloneable {
|
|||
private long maxObjectSize;
|
||||
private int maxCacheEntries;
|
||||
private int maxUpdateRetries;
|
||||
private boolean allow303Caching;
|
||||
private boolean weakETagOnPutDeleteAllowed;
|
||||
private final boolean allow303Caching;
|
||||
private final boolean weakETagOnPutDeleteAllowed;
|
||||
private boolean heuristicCachingEnabled;
|
||||
private float heuristicCoefficient;
|
||||
private long heuristicDefaultLifetime;
|
||||
|
|
|
@ -45,7 +45,7 @@ import org.apache.http.protocol.HttpContext;
|
|||
@Immutable
|
||||
public class WindowsNTLMSchemeFactory implements AuthSchemeProvider {
|
||||
|
||||
private String servicePrincipalName;
|
||||
private final String servicePrincipalName;
|
||||
|
||||
public WindowsNTLMSchemeFactory(final String servicePrincipalName) {
|
||||
super();
|
||||
|
|
|
@ -45,7 +45,7 @@ import org.apache.http.protocol.HttpContext;
|
|||
@Immutable
|
||||
public class WindowsNegotiateSchemeFactory implements AuthSchemeProvider {
|
||||
|
||||
private String servicePrincipalName;
|
||||
private final String servicePrincipalName;
|
||||
|
||||
public WindowsNegotiateSchemeFactory(final String servicePrincipalName) {
|
||||
super();
|
||||
|
|
|
@ -68,8 +68,8 @@ public class SSLContextBuilder {
|
|||
static final String SSL = "SSL";
|
||||
|
||||
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 SSLContextBuilder() {
|
||||
|
|
|
@ -39,7 +39,7 @@ import java.util.zip.ZipException;
|
|||
*/
|
||||
public class DeflateInputStream extends InputStream {
|
||||
|
||||
private InputStream sourceStream;
|
||||
private final InputStream sourceStream;
|
||||
|
||||
public DeflateInputStream(final InputStream wrapped) throws IOException {
|
||||
|
||||
|
|
Loading…
Reference in New Issue