You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2011/06/15 22:52:12 UTC
svn commit: r1136188 -
/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestPoolableConnection.java
Author: psteitz
Date: Wed Jun 15 20:52:12 2011
New Revision: 1136188
URL: http://svn.apache.org/viewvc?rev=1136188&view=rev
Log:
Dropped redundant factory setter call (which now throws ISE in pool2).
Modified:
commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestPoolableConnection.java
Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestPoolableConnection.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestPoolableConnection.java?rev=1136188&r1=1136187&r2=1136188&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestPoolableConnection.java (original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestPoolableConnection.java Wed Jun 15 20:52:12 2011
@@ -49,7 +49,6 @@ public class TestPoolableConnection exte
new PoolableConnectionFactory(
new DriverConnectionFactory(new TesterDriver(),"jdbc:apache:commons:testdriver", null),
pool, null, null, true, true);
- pool.setFactory(factory);
}
public void testConnectionPool() throws Exception {