commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1136188 - /commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestPoolableConnection.java
Date Wed, 15 Jun 2011 20:52:12 GMT
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 {



Mime
View raw message