Skip to content

Commit

Permalink
style(validator): improve javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
landonreed committed Jan 4, 2019
1 parent 5229d6c commit 2fbbda0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ public void validateTrip(Trip trip, Route route, List<StopTime> stopTimes, List<
/**
* Register shape dist traveled error if current stop time has a value AND either and the previous value is
* missing (if at least one stop time has a value, all stop times for the trip should) OR if current value
* is less than or equal to the previous value.
* is less than or equal to the previous value. Note: if the previous shape_dist_traveled value is present and the
* current value is missing, the previous value will be greater than the current stop time's value because
* {@link Entity#DOUBLE_MISSING} is the lowest possible double value. This in turn will register an error.
*/
private void checkShapeDistTraveled(StopTime previous, StopTime current) {
if (
Expand Down

0 comments on commit 2fbbda0

Please sign in to comment.