From 41e6a57c44389e99e4d546f553cfff242513f677 Mon Sep 17 00:00:00 2001 From: Hannes Junnila Date: Mon, 3 Oct 2022 13:47:19 +0300 Subject: [PATCH] Remove filtering of flex patterns in NeTEX import Support and change in GTFS behaviour were in #3757 --- .../netex/mapping/TripPatternMapper.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main/java/org/opentripplanner/netex/mapping/TripPatternMapper.java b/src/main/java/org/opentripplanner/netex/mapping/TripPatternMapper.java index f8e76d52e62..a884c7583b1 100644 --- a/src/main/java/org/opentripplanner/netex/mapping/TripPatternMapper.java +++ b/src/main/java/org/opentripplanner/netex/mapping/TripPatternMapper.java @@ -204,17 +204,6 @@ TripPatternMapperResult mapTripPattern(JourneyPattern journeyPattern) { return result; } - // TODO OTP2 - Trips containing AreaStops are not added to StopPatterns until support - // - for this is added. - if ( - result.tripStopTimes - .get(trips.get(0)) - .stream() - .anyMatch(t -> t.getStop() instanceof AreaStop || t.getStop() instanceof GroupStop) - ) { - return result; - } - // Create StopPattern from any trip (since they are part of the same JourneyPattern) StopPattern stopPattern = deduplicator.deduplicateObject( StopPattern.class,