Document thread-safety of final fields

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797254 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2009-07-23 22:44:34 +00:00
parent 8884e1b686
commit 025def7c3f
1 changed files with 3 additions and 3 deletions

View File

@ -75,13 +75,13 @@ public class ThreadSafeClientConnManager implements ClientConnectionManager {
private final Log log = LogFactory.getLog(getClass());
/** The schemes supported by this connection manager. */
protected final SchemeRegistry schemeRegistry;
protected final SchemeRegistry schemeRegistry; // @ThreadSafe
/** The pool of connections being managed. */
protected final AbstractConnPool connectionPool;
/** The operator for opening and updating connections. */
protected final ClientConnectionOperator connOperator;
protected final ClientConnectionOperator connOperator; // DefaultClientConnectionOperator is @ThreadSafe
/**
* Creates a new thread safe connection manager.
@ -137,7 +137,7 @@ public class ThreadSafeClientConnManager implements ClientConnectionManager {
protected ClientConnectionOperator
createConnectionOperator(SchemeRegistry schreg) {
return new DefaultClientConnectionOperator(schreg);
return new DefaultClientConnectionOperator(schreg);// @ThreadSafe
}
public SchemeRegistry getSchemeRegistry() {