Author: jglick
Date: Wed Nov 10 14:59:11 2010
New Revision: 1033505

URL: http://svn.apache.org/viewvc?rev=1033505&view=rev
Log:
JDK 7 compilability.

Modified:
    
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java

Modified: 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java?rev=1033505&r1=1033504&r2=1033505&view=diff
==============================================================================
--- 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java 
(original)
+++ 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java 
Wed Nov 10 14:59:11 2010
@@ -24,6 +24,8 @@ import java.sql.DriverPropertyInfo;
 import java.util.Properties;
 import java.io.File;
 import java.net.URL;
+import java.sql.SQLFeatureNotSupportedException;
+import java.util.logging.Logger;
 
 import junit.framework.TestCase;
 
@@ -232,6 +234,10 @@ public class SQLExecTest extends TestCas
         public boolean jdbcCompliant() {
             return false;
         }
+
+        public Logger getParentLogger() throws SQLFeatureNotSupportedException 
{
+            throw new SQLFeatureNotSupportedException();
+        }
     }
 
     public void testLastDelimiterPositionNormalModeStrict() {


Reply via email to