From 025def7c3f84e8fbf72f944531c15d6ee78e445e Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 23 Jul 2009 22:44:34 +0000 Subject: [PATCH] Document thread-safety of final fields git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797254 13f79535-47bb-0310-9956-ffa450edef68 --- .../http/impl/conn/tsccm/ThreadSafeClientConnManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java b/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java index e1264fe9a..dbcf62c60 100644 --- a/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java +++ b/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java @@ -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() {