hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r652721 - /httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java
Date Fri, 02 May 2008 00:32:20 GMT
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.



Mime
View raw message