Permalink
Browse files

Removing @Override on jdk7 methods to make the build jdk6 compatible

  • Loading branch information...
1 parent 07d5106 commit b20d9376c6b0bb782278e3b0406b8497a81a7316 @aaime aaime committed Oct 27, 2012
@@ -77,7 +77,6 @@ public Object unwrap(Class arg0) throws SQLException {
throw new SQLException("This implementation cannot unwrap anything");
}
- @Override
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
throw new SQLFeatureNotSupportedException();
}
@@ -286,27 +286,22 @@ public Struct createStruct(String typeName, Object[] attributes) throws SQLExcep
return delegate.createStruct(typeName, attributes);
}
- @Override
public void setSchema(String schema) throws SQLException {
invokeMethodQuietly("setSchema", new Class[] {String.class}, new Object[] {schema}, null);
}
- @Override
public String getSchema() throws SQLException {
return (String) invokeMethodQuietly("getSchema", null, null, null);
}
- @Override
public void abort(Executor executor) throws SQLException {
invokeMethodQuietly("abort", new Class[] {Executor.class}, new Object[] {executor}, null);
}
- @Override
public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException {
invokeMethodQuietly("setNetworkTimeout", new Class[] {Executor.class, int.class}, new Object[] {executor, milliseconds}, null);
}
- @Override
public int getNetworkTimeout() throws SQLException {
return (Integer) invokeMethodQuietly("getNetworkTimeout", null, null, 0);
}
@@ -71,7 +71,6 @@ public boolean isWrapperFor(Class<?> iface) throws SQLException {
throw new SQLException("Not wrapping an object implementing "+ iface.getClass().getName() );
}
- @Override
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
throw new SQLFeatureNotSupportedException();
}

0 comments on commit b20d937

Please sign in to comment.