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