Simple fixes (#976)

* Should be only the really simple stuff.
* Final cleanups.
This commit is contained in:
Koen De Groote authored and Rob Bygrave committed 2017-02-23 23:46:51 +13:00
1 parent 8bb884374b
commit 6120a465e1
59 files changed
+111 -125

No files matched your search

@@ -34,11 +34,8 @@ public class ExplicitJdbcTransaction extends JdbcTransaction {
}
private void executeStatement(String statement) throws SQLException {
PreparedStatement stmt = connection.prepareStatement(statement);
try {
try (PreparedStatement stmt = connection.prepareStatement(statement)) {
stmt.execute();
} finally {
stmt.close();
}
}