Update Waypoint.java

Changed int to double