commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r781163 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
Date Tue, 02 Jun 2009 20:52:28 GMT
Author: markt
Date: Tue Jun  2 20:52:28 2009
New Revision: 781163

URL: http://svn.apache.org/viewvc?rev=781163&view=rev
Log:
Factory methods *should not* be called from within syncs.
Fix copy/paste error in r774007.
Part of fix for POOL-125

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=781163&r1=781162&r2=781163&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
Tue Jun  2 20:52:28 2009
@@ -1709,7 +1709,6 @@
                             _totalInternalProcessing + pool.queue.size();
                     }
                 }
-                destroy(toDestroy);
                 _factory = factory;
             }
         }



Mime
View raw message