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

@@ -5,7 +5,7 @@ package org.drtshock;
*/ */
public enum NotDeliciousReason { public enum NotDeliciousReason {
NOT_BAKED, RAW,
NOT_DELICIOUS_CONDIMENT, NOT_DELICIOUS_CONDIMENT,
EXPIRED_CONDIMENT EXPIRED_CONDIMENT

View File

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