commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1569097 - /commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TesterConnection.java
Date Mon, 17 Feb 2014 19:39:01 GMT
Author: markt
Date: Mon Feb 17 19:39:01 2014
New Revision: 1569097

URL: http://svn.apache.org/r1569097
Log:
Now validation is using isValid() it needs a basic implementation here.

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

Modified: commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TesterConnection.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TesterConnection.java?rev=1569097&r1=1569096&r2=1569097&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TesterConnection.java
(original)
+++ commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TesterConnection.java
Mon Feb 17 19:39:01 2014
@@ -361,7 +361,7 @@ public class TesterConnection implements
 
     @Override
     public boolean isValid(int timeout) throws SQLException {
-        throw new SQLException("Not implemented.");
+        return _open;
     }
 
     @Override



Mime
View raw message