commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r791675 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
Date Tue, 07 Jul 2009 02:28:22 GMT
Author: psteitz
Date: Tue Jul  7 02:28:22 2009
New Revision: 791675

URL: http://svn.apache.org/viewvc?rev=791675&view=rev
Log:
Added keys to debugInfo.

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=791675&r1=791674&r2=791675&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 Jul  7 02:28:22 2009
@@ -2063,7 +2063,8 @@
         buf.append("Idle: ").append(getNumIdle()).append("\n");
         Iterator it = _poolMap.keySet().iterator();
         while (it.hasNext()) {
-            buf.append("\t").append(_poolMap.get(it.next())).append("\n");
+            Object key = it.next();
+            buf.append("\t").append(key).append(" ").append(_poolMap.get(key)).append("\n");
         }
         return buf.toString();
     }



Mime
View raw message