You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2008/05/02 02:32:20 UTC

svn commit: r652721 - /httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java

Author: sebb
Date: Thu May  1 17:32:20 2008
New Revision: 652721

URL: http://svn.apache.org/viewvc?rev=652721&view=rev
Log:
Make field final so it is guaranteed to be published

Modified:
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java?rev=652721&r1=652720&r2=652721&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java Thu May  1 17:32:20 2008
@@ -50,7 +50,7 @@
      * Pool entries can only be GCed when they are allocated by an application
      * and therefore not referenced with a hard link in the manager.
      */
-    private BasicPoolEntryRef reference;
+    private final BasicPoolEntryRef reference;
 
     /**
      * Creates a new pool entry.