Added missing return statement
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -200,11 +200,12 @@ public class ORM {
|
|||||||
((Apartment) estate).setBalcony(rs.getBoolean("balcony"));
|
((Apartment) estate).setBalcony(rs.getBoolean("balcony"));
|
||||||
((Apartment) estate).setBuiltinKitchen(rs.getBoolean("builtInKitchen"));
|
((Apartment) estate).setBuiltinKitchen(rs.getBoolean("builtInKitchen"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rs.close();
|
||||||
|
pstmt.close();
|
||||||
_estates.put(ID, estate);
|
_estates.put(ID, estate);
|
||||||
|
return estate;
|
||||||
}
|
}
|
||||||
rs.close();
|
|
||||||
pstmt.close();
|
|
||||||
|
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
Reference in New Issue
Block a user