From 97f1ccb6c1de5cea8b0fc3f03d8a01fd8563979a Mon Sep 17 00:00:00 2001 From: cir27 Date: Mon, 22 May 2017 05:41:57 +1200 Subject: [PATCH] Fixed a bug where an error was caused when attempting to flip the race around the prime meridian. All x values are now flipped horizontally if the difference between the smallest lon, e.g. -179.5 and the largest e.g. 179.5 is greater than 180. #story[923] #bug --- src/main/java/seng302/models/Race.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/seng302/models/Race.java b/src/main/java/seng302/models/Race.java index e78b602a..f69913a5 100644 --- a/src/main/java/seng302/models/Race.java +++ b/src/main/java/seng302/models/Race.java @@ -152,7 +152,7 @@ public class Race { /** * Set a boat as finished - * @param boat The boat that has finished the race/home/cosc/student/wmu16 + * @param boat The boat that has finished the race */ public void setBoatFinished(Yacht boat){ this.finishingOrder.add(boat);