[cvs] expresso commit by lhamel: fix addition to
connectionsToBeRemoved
JCorporate Ltd
jcorp at jcorp2.servlets.net
Thu Dec 2 22:56:22 PST 2004
Log Message:
-----------
fix addition to connectionsToBeRemoved
Modified Files:
--------------
expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db:
DBConnectionPool.java
Revision Data
-------------
Index: DBConnectionPool.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java,v
retrieving revision 1.53
retrieving revision 1.54
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java -u -r1.53 -r1.54
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBConnectionPool.java
@@ -668,9 +668,7 @@
the connection objects after the iteration
This is done to avoid the ConcurrentModificationException */
- //inUse.remove(new Integer(oneConnection.getId()));
- connectionsToBeRemoved.add(new Integer(oneConnection.getId()));
-
+ connectionsToBeRemoved.add(oneConnection);
oneConnection.disconnect();
}
More information about the cvs
mailing list