Rename NOT_BAKED to RAW
This commit is contained in:
parent
5b6db03bbd
commit
a016415cfd
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue