Renamed isGarden to hasGarden
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user