Renamed isGarden to hasGarden

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-04-19 11:42:07 +02:00
parent 3b6e2c9c6c
commit 4841bf612a

View File

@ -17,7 +17,7 @@ public class House extends Estate {
public void setPrice(int price) {
this.price = price;
}
public boolean isGarden() {
public boolean hasGarden() {
return garden;
}
public void setGarden(boolean garden) {