Merge pull request #43 from mrlolethan/fix/compile-error
Fix compile-time error.
This commit is contained in:
commit
61580991b1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ public class Potato implements Tuber {
|
|||
public void prepare() throws NotDeliciousException {
|
||||
this.addCondiments("sour cream", "chives", "butter", "crumbled bacon", "grated cheese", "ketchup", "salt", "tabasco");
|
||||
this.listCondiments();
|
||||
if(!this.isDelicious()) throw NotDeliciousException();
|
||||
if(!this.isDelicious()) throw new NotDeliciousException();
|
||||
}
|
||||
|
||||
public void addCondiments(String... names) {
|
||||
|
|
Loading…
Reference in a new issue