From b0ea26519deef3229758025f8312cffdf8530763 Mon Sep 17 00:00:00 2001 From: Trophonix <502badgamer@gmail.com> Date: Wed, 21 Jun 2017 09:16:59 -0500 Subject: [PATCH] Re-order methods for consistency --- src/main/java/org/drtshock/Potato.java | 26 +++++++++++++------------- 1 file 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 @@ -108,19 +108,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. * @@ -138,6 +125,19 @@ public class Potato implements Tuber { return true; } + /** + * 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()}. *