Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit b20d9376c6b0bb782278e3b0406b8497a81a7316 1 parent 07d5106
@aaime aaime authored
View
1  modules/library/jdbc/src/main/java/org/geotools/data/jdbc/datasource/AbstractManageableDataSource.java
@@ -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();
}
View
5 modules/library/jdbc/src/main/java/org/geotools/jdbc/LifecycleConnection.java
@@ -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);
}
View
1  .../library/referencing/src/main/java/org/geotools/referencing/factory/epsg/SingleConnectionDataSource.java
@@ -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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.