Skip to content

Commit

Permalink
Update src/main/java/com/conveyal/gtfs/validator/ReferencesTripValida…
Browse files Browse the repository at this point in the history
…tor.java

Co-authored-by: Binh Dam <56846598+binh-dam-ibigroup@users.noreply.github.com>
  • Loading branch information
br648 and binh-dam-ibigroup authored Aug 20, 2024
1 parent a45ff11 commit 69d8140
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void complete (ValidationResult validationResult) {
registerError(route, ROUTE_UNUSED);
}
}
// If a stop time reference a location, make sure that location is used.
// If a stop time references a location, make sure that the referenced location is used.
List<Location> locations = Lists.newArrayList(feed.locations);
feed.stopTimes.forEach(stopTime -> {
if (stopTime.location_id != null && !referencedLocations.contains(stopTime.location_id)) {
Expand Down

0 comments on commit 69d8140

Please sign in to comment.