Removed obsolete code

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2017-04-25 16:13:33 +02:00
parent 9366ab384e
commit b180ee52e6
1 changed files with 0 additions and 2 deletions

View File

@ -815,7 +815,6 @@ public class ORM {
pstmtHouse.setInt(4, house.getFloors());
pstmt.executeUpdate();
pstmtHouse.executeUpdate();
pstmt.close();
pstmtHouse.close();
changeFinished = true;
} else if (estate instanceof Apartment) {
@ -832,7 +831,6 @@ public class ORM {
pstmtApartment.setInt(6, apartment.hasBuiltinKitchen() ? 1 : 0);
pstmt.executeUpdate();
pstmtApartment.executeUpdate();
pstmt.close();
pstmtApartment.close();
changeFinished = true;
}