Make protected variables final to reduce multi-threading issues
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755457 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
087d6af97d
commit
2cc1241ed7
|
@ -67,13 +67,13 @@ public class ThreadSafeClientConnManager implements ClientConnectionManager {
|
||||||
private final Log log = LogFactory.getLog(getClass());
|
private final Log log = LogFactory.getLog(getClass());
|
||||||
|
|
||||||
/** The schemes supported by this connection manager. */
|
/** The schemes supported by this connection manager. */
|
||||||
protected SchemeRegistry schemeRegistry;
|
protected final SchemeRegistry schemeRegistry;
|
||||||
|
|
||||||
/** The pool of connections being managed. */
|
/** The pool of connections being managed. */
|
||||||
protected final AbstractConnPool connectionPool;
|
protected final AbstractConnPool connectionPool;
|
||||||
|
|
||||||
/** The operator for opening and updating connections. */
|
/** The operator for opening and updating connections. */
|
||||||
protected ClientConnectionOperator connOperator;
|
protected final ClientConnectionOperator connOperator;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue