hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r797254 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java
Date Thu, 23 Jul 2009 22:44:34 GMT
Author: sebb
Date: Thu Jul 23 22:44:34 2009
New Revision: 797254

URL: http://svn.apache.org/viewvc?rev=797254&view=rev
Log:
Document thread-safety of final fields

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java?rev=797254&r1=797253&r2=797254&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java
Thu Jul 23 22:44:34 2009
@@ -75,13 +75,13 @@
     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 @@
     protected ClientConnectionOperator
         createConnectionOperator(SchemeRegistry schreg) {
 
-        return new DefaultClientConnectionOperator(schreg);
+        return new DefaultClientConnectionOperator(schreg);// @ThreadSafe
     }
 
     public SchemeRegistry getSchemeRegistry() {



Mime
View raw message