commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r780448 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
Date Sun, 31 May 2009 14:50:57 GMT
Author: sebb
Date: Sun May 31 14:50:56 2009
New Revision: 780448

URL: http://svn.apache.org/viewvc?rev=780448&view=rev
Log:
Make private immutable field final

Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java?rev=780448&r1=780447&r2=780448&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
Sun May 31 14:50:56 2009
@@ -2279,7 +2279,7 @@
     private static final class Latch {
         
         /** key of associated pool */
-        private Object _key;
+        private final Object _key;
         
         /** keyed pool associated with this latch */
         private ObjectQueue _pool;



Mime
View raw message