Merge pull request #47 from Phroa/patch-1

Add @Override annotations
This commit is contained in:
Trent Hensler 2015-10-01 13:09:28 -07:00
commit 5b80fdb79d

View file

@ -57,10 +57,12 @@ public class Potato implements Tuber {
return this.isPutIntoOven(); return this.isPutIntoOven();
} }
@Override
public boolean isDelicious() { public boolean isDelicious() {
return this.isBaked(); return this.isBaked();
} }
@Override
public Tuber propagate() { public Tuber propagate() {
return new Potato(); return new Potato();
} }