These private ivars can be final.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767394 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2016-10-31 23:30:15 +00:00
parent 8ab600bc2a
commit 278257e26a
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ import org.apache.hc.core5.http.protocol.HttpContext;
*/
final class OSGiHttpRoutePlanner extends DefaultRoutePlanner {
private List<ProxyConfiguration> proxyConfigurations;
private final List<ProxyConfiguration> proxyConfigurations;
public OSGiHttpRoutePlanner(final List<ProxyConfiguration> proxyConfigurations) {
super(null);

View File

@ -39,7 +39,7 @@ import org.apache.hc.core5.http.protocol.HttpContext;
final class RelaxedLayeredConnectionSocketFactory implements LayeredConnectionSocketFactory {
private TrustedHostsConfiguration trustedHostsConfiguration;
private final TrustedHostsConfiguration trustedHostsConfiguration;
private final LayeredConnectionSocketFactory defaultSocketFactory;