Removed invalid call

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-04-25 16:55:56 +02:00
parent 3434fcae70
commit 010fc9e21d

View File

@ -813,7 +813,6 @@ public class ORM {
pstmtHouse.setInt(2, house.getPrice());
pstmtHouse.setInt(3, house.hasGarden() ? 1 : 0);
pstmtHouse.setInt(4, house.getFloors());
pstmt.executeUpdate();
pstmtHouse.executeUpdate();
pstmtHouse.close();
changeFinished = true;
@ -829,7 +828,6 @@ public class ORM {
pstmtApartment.setInt(4, apartment.getRooms());
pstmtApartment.setInt(5, apartment.hasBalcony() ? 1 : 0);
pstmtApartment.setInt(6, apartment.hasBuiltinKitchen() ? 1 : 0);
pstmt.executeUpdate();
pstmtApartment.executeUpdate();
pstmtApartment.close();
changeFinished = true;