From a7abfd9f11d2d750cb2b45bfc9de8858a29f05f2 Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 11 Aug 2019 17:38:24 -0600 Subject: add documentation and complete program profile --- src/Q8/Point.java | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/Q8/Point.java') diff --git a/src/Q8/Point.java b/src/Q8/Point.java index 391ea28..2917d22 100644 --- a/src/Q8/Point.java +++ b/src/Q8/Point.java @@ -28,23 +28,17 @@ public class Point { this.score = score; } - /** - * @return the player that scored the point. - */ + /** @return the player that scored the point. */ public int getPlayer() { return this.player; } - /** - * @return the score for the player at the time the point was scored. - */ + /** @return the score for the player at the time the point was scored. */ public int getScore() { return this.score; } - /** - * @return the stroke used to score the point. - */ + /** @return the stroke used to score the point. */ public String getStroke() { switch (this.stroke) { case "a": -- cgit v1.2.3