Added missing return statement

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-04-19 12:29:38 +02:00
parent 6380420b5a
commit 212ec3da44

View File

@ -201,10 +201,11 @@ public class ORM {
((Apartment) estate).setBuiltinKitchen(rs.getBoolean("builtInKitchen"));
}
_estates.put(ID, estate);
}
rs.close();
pstmt.close();
_estates.put(ID, estate);
return estate;
}
} catch (SQLException e) {
e.printStackTrace();