Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard

Diff Revisions 8012b0 ... vs 076d76 ... for ruralHouses/src/businessLogic/HouseManager.java

Diff revisions: vs.
  @@ -39,7 +39,7 @@
39 39 public boolean registerNewHouse(RuralHouse rh) {
40 40
41 41 boolean stored = false;
42 - if (!suitsRegulations(rh.getFeatures().getnKitchens(), rh.getFeatures()
42 + if (!suitsRegulations(rh.getFeatures().getnRooms(), rh.getFeatures()
43 43 .getnBaths(), rh.getFeatures().getnKitchens()))
44 44 return false;
45 45 stored = this.dbMngr.storeRuralHouses(rh);