hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r755457 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java
Date Wed, 18 Mar 2009 02:11:45 GMT
Author: sebb
Date: Wed Mar 18 02:11:44 2009
New Revision: 755457

URL: http://svn.apache.org/viewvc?rev=755457&view=rev
Log:
Make protected variables final to reduce multi-threading issues

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=755457&r1=755456&r2=755457&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
Wed Mar 18 02:11:44 2009
@@ -67,13 +67,13 @@
     private final Log log = LogFactory.getLog(getClass());
 
     /** The schemes supported by this connection manager. */
-    protected SchemeRegistry schemeRegistry; 
+    protected final SchemeRegistry schemeRegistry; 
     
     /** The pool of connections being managed. */
     protected final AbstractConnPool connectionPool;
 
     /** The operator for opening and updating connections. */
-    protected ClientConnectionOperator connOperator;
+    protected final ClientConnectionOperator connOperator;
     
 
 



Mime
View raw message