From 5994ffb45497888e3713a5faf5ac73ed6dec4f0b Mon Sep 17 00:00:00 2001 From: Bajahaw Date: Tue, 12 Nov 2024 17:45:44 +0100 Subject: [PATCH] fixed typo and improved clarity --- src/main/java/org/drtshock/Potato.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/drtshock/Potato.java b/src/main/java/org/drtshock/Potato.java index eeb051e..e648378 100644 --- a/src/main/java/org/drtshock/Potato.java +++ b/src/main/java/org/drtshock/Potato.java @@ -113,9 +113,9 @@ public class Potato implements Tuber { } /** - * Checks if the potato is succesfully boiled at the right amount of degrees. + * Checks if the potato is successfully boiled at the right amount of degrees. * - * @return true if the potato has succesfully been boiled, false if otherwise + * @return true if the potato has successfully been boiled, false if otherwise * @throws BurntException if the potato has been burned during the process of cooking */ public boolean hasBeenBoiledInWater() throws BurntException { @@ -195,7 +195,7 @@ public class Potato implements Tuber { * @return true if expired, false if otherwise */ public boolean isExpired() { - return expired; + return this.expired; } /**