Removed obsolete code
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
9366ab384e
commit
b180ee52e6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue