Rename NOT_BAKED to RAW

This commit is contained in:
Trophonix
2017-06-21 08:59:24 -05:00
parent 5b6db03bbd
commit a016415cfd
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ public class Potato implements Tuber {
this.addCondiments("sour cream", "chives", "butter", "crumbled bacon", "grated cheese", "ketchup", "pepper",
"salt", "tabasco", "tomatoes");
this.listCondiments();
if (!this.isDelicious()) throw new NotDeliciousException(NotDeliciousReason.NOT_BAKED);
if (!this.isDelicious()) throw new NotDeliciousException(NotDeliciousReason.RAW);
}
/**