krisds 2019-03-20 16:16:23 +01:00 committed by Luca Cavanna
parent 1edebfc834
commit 336c92e4d3
1 changed files with 4 additions and 4 deletions

View File

@ -91,12 +91,12 @@ final class Debug {
static Statement proxy(Object statement, StatementProxy handler) {
Class<? extends Statement> i = Statement.class;
if (statement instanceof PreparedStatement) {
i = PreparedStatement.class;
}
else if (statement instanceof CallableStatement) {
if (statement instanceof CallableStatement) {
i = CallableStatement.class;
}
else if (statement instanceof PreparedStatement) {
i = PreparedStatement.class;
}
return createProxy(i, handler);
}