From 6e32d5f0533714933a1874bd01dfba2f4c043bc8 Mon Sep 17 00:00:00 2001 From: Leen Dereu Date: Sun, 11 Mar 2018 21:17:06 +0100 Subject: [PATCH] aanpassen commentaar shape --- OGP1718-Worms/src/worms/model/Worm.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/OGP1718-Worms/src/worms/model/Worm.java b/OGP1718-Worms/src/worms/model/Worm.java index 7da7c3d..1de34a6 100644 --- a/OGP1718-Worms/src/worms/model/Worm.java +++ b/OGP1718-Worms/src/worms/model/Worm.java @@ -302,8 +302,6 @@ public class Worm { */ private final double minRadius; - - /** * Check whether the given radius is a valid radius for the worm * @@ -311,7 +309,7 @@ public class Worm { * the radius to check * @return True if and only if the radius is bigger then the minimum radius * (or equal) and the radius is a number - * |result == (radius >= this.minRadius && !Double.isNaN(radius)) + * |result == (radius >= getMinRadius() && !Double.isNaN(radius)) */ @Raw private boolean canHaveAsRadius(double radius) {