File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/main/java/org/opentripplanner Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,10 @@ List<TripTimeOnDate> stopTimesForPatternAtStop(
186
186
187
187
GroupOfRoutes getGroupOfRoutesForId (FeedScopedId id );
188
188
189
+ /**
190
+ * Return the timetable for a given trip pattern and date, taking into account real-time updates.
191
+ * If no real-times update are applied, fall back to scheduled data.
192
+ */
189
193
@ Nullable
190
194
Timetable getTimetableForTripPattern (TripPattern tripPattern , LocalDate serviceDate );
191
195
Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ private static TripPattern getPatternIncludingRealtime(
99
99
Trip trip ,
100
100
LocalDate sd
101
101
) {
102
- // TODO OTP2 RT_VP a new instance of DefaultTransitService must be created to retrieve
103
- // the latest TimetableSnapshot
102
+ // a new instance of DefaultTransitService must be created to retrieve
103
+ // the current TimetableSnapshot
104
104
return (new DefaultTransitService (transitModel )).getPatternForTrip (trip , sd );
105
105
}
106
106
}
You can’t perform that action at this time.
0 commit comments