mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-01 22:30:14 +02:00
fixed typo and improved clarity
This commit is contained in:
committed by
MiniDigger | Martin
parent
3edd9bd1ca
commit
5994ffb454
@@ -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
|
* @throws BurntException if the potato has been burned during the process of cooking
|
||||||
*/
|
*/
|
||||||
public boolean hasBeenBoiledInWater() throws BurntException {
|
public boolean hasBeenBoiledInWater() throws BurntException {
|
||||||
@@ -195,7 +195,7 @@ public class Potato implements Tuber {
|
|||||||
* @return true if expired, false if otherwise
|
* @return true if expired, false if otherwise
|
||||||
*/
|
*/
|
||||||
public boolean isExpired() {
|
public boolean isExpired() {
|
||||||
return expired;
|
return this.expired;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user