Catch statement already being null

This commit is contained in:
dordsor21 2019-02-13 13:35:19 +00:00
parent dae7bbdf9d
commit 3e8308ecd7

View File

@ -351,7 +351,7 @@ import java.util.concurrent.atomic.AtomicInteger;
task.set(statement);
task.addBatch(statement);
try {
if (statement.isClosed()) {
if (statement != null && statement.isClosed()) {
statement = null;
}
} catch (AbstractMethodError ignore) {