Clean up the CoreManager ResultSet

This commit is contained in:
Obique
2015-02-16 20:37:23 -06:00
committed by Obique
parent ad6969e6ed
commit 982e73d148
+1
View File
@@ -177,6 +177,7 @@ public class CoreManager extends Manager {
ResultSet set = getGalaxy.executeQuery();
if (!set.next()) {
System.err.println("CoreManager: No such galaxy exists with ID " + galaxyId + "!");
set.close();
return null;
}
Galaxy g = new Galaxy();