-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependency from Timetable to GTFS-RT TripUpdate #6432
base: dev-2.x
Are you sure you want to change the base?
Remove dependency from Timetable to GTFS-RT TripUpdate #6432
Conversation
9c6b461
to
900b8a6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6432 +/- ##
==========================================
Coverage 70.31% 70.31%
Complexity 18158 18158
==========================================
Files 2058 2059 +1
Lines 76939 76941 +2
Branches 7771 7771
==========================================
+ Hits 54097 54100 +3
+ Misses 20088 20087 -1
Partials 2754 2754 ☔ View full report in Codecov by Sentry. |
900b8a6
to
823fd53
Compare
823fd53
to
fee9471
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logback.xml has some custom configuration for the Timetable class. It should be changed to be for the TimetableMapper class.
Good catch! |
Summary
The class Timetable has a dependency on GTFS-RT's TripUpdate. This dependency prevents further refactoring and moving of the transit model to a separate module.
Since the Timetable is now also immutable (since #6017) changing the main code is not very complicated. However, there are some tests that combine testing the Timetable with testing the TimetableSnapshot, which is a bit difficult to untangle.
Issue
Relates to #6431
Unit tests
Lots changed.
Documentation
Maybe @vpaturet could help me updating the Javadoc of TimetableMapper.
Bumping the serialization version id
Only a static methods was moved so I don't think we need it.