Some javadoc warning fixes.

This commit is contained in:
fjc40
2017-09-27 14:47:51 +13:00
parent 1a672e8ac8
commit 5ea4200e67
3 changed files with 4 additions and 2 deletions
@@ -66,6 +66,7 @@ public class Event {
* Constructs an event, using various XML files.
* @param singlePlayer Whether or not to create a single player event.
* @param mapIndex Specifies which map to use.
* @param raceLength The length of the race, in milliseconds.
* @throws EventConstructionException Thrown if we cannot create an Event for any reason.
*/
public Event(boolean singlePlayer, int mapIndex, int raceLength) throws
@@ -177,10 +177,10 @@ public class RaceXMLCreator {
}
/**
* gets the destance between two marks
* gets the destance between two marks, in nautical miles.
* @param a mark 1
* @param b mark 2
* @return
* @return Distance in nautical miles.
*/
private static double getDistance(XMLMark a, XMLMark b){
GPSCoordinate coorda = new GPSCoordinate(a.getTargetLat(), a.getTargetLng());