commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1136185 - /commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestDriverManagerConnectionFactory.java
Date Wed, 15 Jun 2011 20:42:26 GMT
Author: psteitz
Date: Wed Jun 15 20:42:26 2011
New Revision: 1136185

URL: http://svn.apache.org/viewvc?rev=1136185&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/TestDriverManagerConnectionFactory.java

Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestDriverManagerConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestDriverManagerConnectionFactory.java?rev=1136185&r1=1136184&r2=1136185&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestDriverManagerConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TestDriverManagerConnectionFactory.java
Wed Jun 15 20:42:26 2011
@@ -60,7 +60,6 @@ public class TestDriverManagerConnection
         final PoolableConnectionFactory poolableConnectionFactory =
             new PoolableConnectionFactory(connectionFactory, connectionPool,
                     null, null, false, true);
-        connectionPool.setFactory(poolableConnectionFactory);
         PoolingDataSource dataSource =
             new PoolingDataSource(connectionPool);
 



Mime
View raw message