diff options
| author | Trophonix <502badgamer@gmail.com> | 2017-06-21 09:16:59 -0500 |
|---|---|---|
| committer | Trophonix <502badgamer@gmail.com> | 2017-06-21 09:16:59 -0500 |
| commit | b0ea26519deef3229758025f8312cffdf8530763 (patch) | |
| tree | da42275f5919ee84b14011c44294807ab57f4ac2 /src | |
| parent | c69264a5521da1c12a506aa844d9dfcdd471eb34 (diff) | |
Re-order methods for consistency
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/java/org/drtshock/Potato.java | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/main/java/org/drtshock/Potato.java b/src/main/java/org/drtshock/Potato.java index 46f9546..25205f7 100644 --- a/src/main/java/org/drtshock/Potato.java +++ b/src/main/java/org/drtshock/Potato.java @@ -109,19 +109,6 @@ public class Potato implements Tuber { } /** - * Checks if this potato is cooked. Returns the result of {@link #hasBeenBoiledInWater()}. - * - * @return true if this potato is baked, false if otherwise - */ - public boolean isBoiled() { - try { - return this.hasBeenBoiledInWater(); - } catch (BurntException e) { - return false; - } - } - - /** * Checks if the potato is succesfully boiled at the right amount of degrees. * * @return true if the potato has succesfully been boiled, false if otherwise @@ -139,6 +126,19 @@ public class Potato implements Tuber { } /** + * Checks if this potato is cooked. Returns the result of {@link #hasBeenBoiledInWater()}. + * + * @return true if this potato is baked, false if otherwise + */ + public boolean isBoiled() { + try { + return this.hasBeenBoiledInWater(); + } catch (BurntException e) { + return false; + } + } + + /** * Checks if this potato is delicious. Returns the result of {@link #isBaked()}. * * @return true if this potato is delicious, false if otherwise |
