mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-01 22:30:14 +02:00
Add @Override annotations
This commit is contained in:
@@ -57,10 +57,12 @@ public class Potato implements Tuber {
|
||||
return this.isPutIntoOven();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDelicious() {
|
||||
return this.isBaked();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Tuber propagate() {
|
||||
return new Potato();
|
||||
}
|
||||
|
Reference in New Issue
Block a user