From: David J. <d_j...@us...> - 2003-06-22 22:26:13
|
User: d_jencks Date: 03/06/22 15:26:12 Modified: src/main/org/jboss/resource/connectionmanager JBossManagedConnectionPool.java Log: undo previous mistaken change Revision Changes Path 1.19 +2 -1 jbosscx/src/main/org/jboss/resource/connectionmanager/JBossManagedConnectionPool.java Index: JBossManagedConnectionPool.java =================================================================== RCS file: /cvsroot/jboss/jbosscx/src/main/org/jboss/resource/connectionmanager/JBossManagedConnectionPool.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- JBossManagedConnectionPool.java 16 Jun 2003 02:01:38 -0000 1.18 +++ JBossManagedConnectionPool.java 22 Jun 2003 22:26:12 -0000 1.19 @@ -429,7 +429,7 @@ Object key = getKey(subject, cri); synchronized (pools) { - mcp = (InternalManagedConnectionPool)pools.remove(key); + mcp = (InternalManagedConnectionPool)pools.get(key); if (mcp == null) { mcp = new InternalManagedConnectionPool(mcf, subject, cri, poolParams, log); @@ -450,6 +450,7 @@ } // end of if () mcp.returnConnection(mc, kill); } + public int getConnectionCount() { int count = 0; |