commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1096226 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java
Date Sat, 23 Apr 2011 20:58:59 GMT
Author: simonetripodi
Date: Sat Apr 23 20:58:59 2011
New Revision: 1096226

URL: http://svn.apache.org/viewvc?rev=1096226&view=rev
Log:
added missing generic when returning a new ErodingKeyedObjectPool instance

Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java?rev=1096226&r1=1096225&r2=1096226&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java (original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/PoolUtils.java Sat Apr 23
20:58:59 2011
@@ -553,7 +553,7 @@ public final class PoolUtils {
         if (perKey) {
             return new ErodingPerKeyKeyedObjectPool<K,V>(keyedPool, factor);
         } else {
-            return new ErodingKeyedObjectPool(keyedPool, factor);
+            return new ErodingKeyedObjectPool<K,V>(keyedPool, factor);
         }
     }
 



Mime
View raw message