Browse Source

JDK 7 compilability.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1033505 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 15 years ago
parent
commit
3b604c9b6e
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java

+ 6
- 0
src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java View File

@@ -24,6 +24,8 @@ import java.sql.DriverPropertyInfo;
import java.util.Properties; import java.util.Properties;
import java.io.File; import java.io.File;
import java.net.URL; import java.net.URL;
import java.sql.SQLFeatureNotSupportedException;
import java.util.logging.Logger;


import junit.framework.TestCase; import junit.framework.TestCase;


@@ -232,6 +234,10 @@ public class SQLExecTest extends TestCase {
public boolean jdbcCompliant() { public boolean jdbcCompliant() {
return false; return false;
} }

public Logger getParentLogger() throws SQLFeatureNotSupportedException {
throw new SQLFeatureNotSupportedException();
}
} }


public void testLastDelimiterPositionNormalModeStrict() { public void testLastDelimiterPositionNormalModeStrict() {


Loading…
Cancel
Save