mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-12 22:45:18 -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