mirror of
https://bitbucket.org/projectswg/cucore.git
synced 2026-10-09 01:13:02 -04:00
Clean up the CoreManager ResultSet
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user