From 7d416a90de54f74443614965799db60c1a63cd93 Mon Sep 17 00:00:00 2001 From: T00thpick1 Date: Fri, 18 Jan 2013 16:18:44 -0500 Subject: [PATCH] Redundant as they are caught in finally --- src/main/java/com/gmail/nossr50/util/Database.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/Database.java b/src/main/java/com/gmail/nossr50/util/Database.java index 7c526c423..bde70d8d9 100644 --- a/src/main/java/com/gmail/nossr50/util/Database.java +++ b/src/main/java/com/gmail/nossr50/util/Database.java @@ -262,7 +262,6 @@ public class Database { try { statement = connection.prepareStatement(sql); statement.executeUpdate(); - statement.close(); return true; } catch (SQLException ex) { @@ -296,7 +295,6 @@ public class Database { try { statement = connection.prepareStatement(sql); ret = statement.executeUpdate(); - statement.close(); return ret; } catch (SQLException ex) { printErrors(ex);