The bug found in the presentation that we forgot to review has been fixed
[RRRRHHHH_Code] / ruralHouses / src / businessLogic / HouseManager.java
index c2b624c..28908c1 100644 (file)
@@ -39,7 +39,7 @@ public class HouseManager extends UnicastRemoteObject implements HouseInterface
        public boolean registerNewHouse(RuralHouse rh) {
 
                boolean stored = false;
-               if (!suitsRegulations(rh.getFeatures().getnKitchens(), rh.getFeatures()
+               if (!suitsRegulations(rh.getFeatures().getnRooms(), rh.getFeatures()
                                .getnBaths(), rh.getFeatures().getnKitchens()))
                        return false;
                stored = this.dbMngr.storeRuralHouses(rh);