commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1136178&view=rev
Log:
Updated to reflect pool2 API change.

Modified:
    commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/datasources/TestCPDSConnectionFactory.java

Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/datasources/TestCPDSConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/datasources/TestCPDSConnectionFactory.java?rev=1136178&r1=1136177&r2=1136178&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/datasources/TestCPDSConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/datasources/TestCPDSConnectionFactory.java
Wed Jun 15 20:26:17 2011
@@ -88,7 +88,7 @@ public class TestCPDSConnectionFactory e
      */
     public void testConnectionErrorCleanup() throws Exception {
         // Setup factory
-        GenericObjectPool pool = new GenericObjectPool(null);
+        GenericObjectPool pool = new GenericObjectPool();
         CPDSConnectionFactory factory = 
             new CPDSConnectionFactory(cpds, pool, null, "username", "password");
         



Mime
View raw message