HTTPCLIENT-767 - Static variables need to be final (or access should be synchronised)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652094 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4134be62ad
commit
bdfd6701cf
|
@ -53,7 +53,7 @@ public final class HttpConnectionManagerParams implements ConnManagerPNames {
|
|||
public static final int DEFAULT_MAX_TOTAL_CONNECTIONS = 20;
|
||||
|
||||
/** The default maximum number of connections allowed per host */
|
||||
private static ConnPerRoute DEFAULT_CONN_PER_ROUTE = new ConnPerRoute() {
|
||||
private static final ConnPerRoute DEFAULT_CONN_PER_ROUTE = new ConnPerRoute() {
|
||||
|
||||
public int getMaxForRoute(HttpRoute route) {
|
||||
return ConnPerRouteBean.DEFAULT_MAX_CONNECTIONS_PER_ROUTE;
|
||||
|
|
|
@ -59,7 +59,7 @@ public abstract class AbstractAuthenticationHandler implements AuthenticationHan
|
|||
|
||||
private static final Log LOG = LogFactory.getLog(AbstractAuthenticationHandler.class);
|
||||
|
||||
private static List<String> DEFAULT_SCHEME_PRIORITY = Arrays.asList(new String[] {
|
||||
private static final List<String> DEFAULT_SCHEME_PRIORITY = Arrays.asList(new String[] {
|
||||
"digest",
|
||||
"basic"
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue