提交 34ff220d authored 作者: Thomas Mueller's avatar Thomas Mueller

Add missing @Override

上级 77d5a744
......@@ -1533,6 +1533,7 @@ public class JdbcCallableStatement extends JdbcPreparedStatement implements Call
* @param type the class of the returned value
*/
/*## Java 1.7 ##
@Override
public <T> T getObject(int parameterIndex, Class<T> type) {
return null;
}
......@@ -1545,6 +1546,7 @@ public class JdbcCallableStatement extends JdbcPreparedStatement implements Call
* @param type the class of the returned value
*/
/*## Java 1.7 ##
@Override
public <T> T getObject(String parameterName, Class<T> type) {
return null;
}
......
......@@ -1756,6 +1756,7 @@ public class JdbcConnection extends TraceObject implements Connection {
* @param schema the schema
*/
/*## Java 1.7 ##
@Override
public void setSchema(String schema) {
// not supported
}
......@@ -1765,6 +1766,7 @@ public class JdbcConnection extends TraceObject implements Connection {
* [Not supported]
*/
/*## Java 1.7 ##
@Override
public String getSchema() {
return null;
}
......@@ -1776,6 +1778,7 @@ public class JdbcConnection extends TraceObject implements Connection {
* @param executor the executor used by this method
*/
/*## Java 1.7 ##
@Override
public void abort(Executor executor) {
// not supported
}
......@@ -1788,6 +1791,7 @@ public class JdbcConnection extends TraceObject implements Connection {
* @param milliseconds the TCP connection timeout
*/
/*## Java 1.7 ##
@Override
public void setNetworkTimeout(Executor executor, int milliseconds) {
// not supported
}
......@@ -1797,6 +1801,7 @@ public class JdbcConnection extends TraceObject implements Connection {
* [Not supported]
*/
/*## Java 1.7 ##
@Override
public int getNetworkTimeout() {
return 0;
}
......
......@@ -3096,6 +3096,7 @@ public class JdbcDatabaseMetaData extends TraceObject implements DatabaseMetaDat
* [Not supported]
*/
/*## Java 1.7 ##
@Override
public boolean generatedKeyAlwaysReturned() {
return true;
}
......@@ -3113,6 +3114,7 @@ public class JdbcDatabaseMetaData extends TraceObject implements DatabaseMetaDat
* (uppercase for unquoted names)
*/
/*## Java 1.7 ##
@Override
public ResultSet getPseudoColumns(String catalog, String schemaPattern,
String tableNamePattern, String columnNamePattern) {
return null;
......
......@@ -3588,6 +3588,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param type the class of the returned value
*/
/*## Java 1.7 ##
@Override
public <T> T getObject(int columnIndex, Class<T> type) {
return null;
}
......@@ -3600,6 +3601,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param type the class of the returned value
*/
/*## Java 1.7 ##
@Override
public <T> T getObject(String columnName, Class<T> type) {
return null;
}
......
......@@ -925,6 +925,7 @@ public class JdbcStatement extends TraceObject implements Statement {
* [Not supported]
*/
/*## Java 1.7 ##
@Override
public void closeOnCompletion() {
// not supported
}
......@@ -934,6 +935,7 @@ public class JdbcStatement extends TraceObject implements Statement {
* [Not supported]
*/
/*## Java 1.7 ##
@Override
public boolean isCloseOnCompletion() {
return true;
}
......
......@@ -334,6 +334,7 @@ public class JdbcConnectionPool implements DataSource, ConnectionEventListener {
* [Not supported]
*/
/*## Java 1.7 ##
@Override
public Logger getParentLogger() {
return null;
}
......
......@@ -391,6 +391,7 @@ public class JdbcDataSource extends TraceObject
* [Not supported]
*/
/*## Java 1.7 ##
@Override
public Logger getParentLogger() {
return null;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论