Merge pull request #43 from mrlolethan/fix/compile-error

Fix compile-time error.
This commit is contained in:
Trent Hensler 2015-05-16 13:28:40 -05:00
commit 61580991b1

View file

@ -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) {