From 645a7e052522b1efc3eb9682c4379ec9dd4c5a73 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Thu, 10 Oct 2024 16:05:42 +0200 Subject: [PATCH] Add comment --- .../filterchain/filters/system/FlexSearchWindowFilter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/opentripplanner/routing/algorithm/filterchain/filters/system/FlexSearchWindowFilter.java b/src/main/java/org/opentripplanner/routing/algorithm/filterchain/filters/system/FlexSearchWindowFilter.java index f44d9b0e12b..336bf97b1a0 100644 --- a/src/main/java/org/opentripplanner/routing/algorithm/filterchain/filters/system/FlexSearchWindowFilter.java +++ b/src/main/java/org/opentripplanner/routing/algorithm/filterchain/filters/system/FlexSearchWindowFilter.java @@ -41,12 +41,10 @@ public String name() { @Override public Predicate shouldBeFlaggedForRemoval() { return it -> { - // arive by if (it.isDirectFlex() && sortOrder.isSortedByDescendingDepartureTime()) { // arive by var time = it.startTime().toInstant(); return time.isBefore(earliestDepartureTime); - // depart at } else if (it.isDirectFlex() && sortOrder.isSortedByAscendingArrivalTime()) { // depart at var time = it.startTime().toInstant();