mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-02 06:30:15 +02:00
Rename NOT_BAKED to RAW
This commit is contained in:
@@ -5,7 +5,7 @@ package org.drtshock;
|
||||
*/
|
||||
public enum NotDeliciousReason {
|
||||
|
||||
NOT_BAKED,
|
||||
RAW,
|
||||
NOT_DELICIOUS_CONDIMENT,
|
||||
EXPIRED_CONDIMENT
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user