Skip to content

Commit

Permalink
Merge branch 'master' into 1839-optimisation-do-not-run-validators-on…
Browse files Browse the repository at this point in the history
…-columns-that-are-not-present
  • Loading branch information
jcpitre committed Oct 11, 2024
2 parents 30b7cc5 + 45c6c24 commit 05a413f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ private void reportProblems(
Set<String> reportedStopIds,
NoticeContainer noticeContainer) {
for (Problem problem : problems) {
if (problem.getStopTime().stopId().isEmpty()) {
// Ignore stop times without a stop_id
continue;
}
if (problem.getType().equals(ProblemType.STOP_TOO_FAR_FROM_SHAPE)
&& !reportedStopIds.add(problem.getStopTime().stopId())) {
// Ignore stops already reported before.
Expand Down

0 comments on commit 05a413f

Please sign in to comment.