Make field final so it's published to all threads

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652947 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2008-05-02 23:15:40 +00:00
parent 18ee596a4d
commit f761a17460
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
/* /*
* $HeadURL:$ * $HeadURL$
* $Revision:$ * $Revision$
* $Date:$ * $Date$
* *
* ==================================================================== * ====================================================================
* *
@ -43,7 +43,7 @@ import org.apache.http.conn.routing.HttpRoute;
* *
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a> * @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
* *
* @version $Revision:$ * @version $Revision$
* *
* @since 4.0 * @since 4.0
*/ */
@ -52,7 +52,7 @@ public final class ConnPerRouteBean implements ConnPerRoute {
/** The default maximum number of connections allowed per host */ /** The default maximum number of connections allowed per host */
public static final int DEFAULT_MAX_CONNECTIONS_PER_ROUTE = 2; // Per RFC 2616 sec 8.1.4 public static final int DEFAULT_MAX_CONNECTIONS_PER_ROUTE = 2; // Per RFC 2616 sec 8.1.4
private Map<HttpRoute, Integer> maxPerHostMap; private final Map<HttpRoute, Integer> maxPerHostMap;
private int defaultMax; private int defaultMax;