Skip to content
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

Extract LegMode from TraverseMode #4443

Merged
merged 6 commits into from
Sep 14, 2022
Merged

Conversation

hannesj
Copy link
Contributor

@hannesj hannesj commented Sep 12, 2022

Summary

Currently TraverseMode is used in the mode for a Leg. Extract a separate enum, which is used for otput, so that we can simplify the TraverseMode and make it completely internal to the a* classes.

@hannesj
Copy link
Contributor Author

hannesj commented Sep 14, 2022

I reviewed the commits from @t2gran. Looks good for me

@codecov-commenter
Copy link

Codecov Report

Base: 58.43% // Head: 58.43% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (119f34a) compared to base (aff0726).
Patch coverage: 43.63% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             dev-2.x    #4443    +/-   ##
===========================================
  Coverage      58.43%   58.43%            
+ Complexity     11425    11386    -39     
===========================================
  Files           1500     1501     +1     
  Lines          59913    59813   -100     
  Branches        6821     6832    +11     
===========================================
- Hits           35011    34954    -57     
+ Misses         22840    22790    -50     
- Partials        2062     2069     +7     
Impacted Files Coverage Δ
...tripplanner/ext/fares/impl/NycFareServiceImpl.java 0.00% <0.00%> (ø)
...ipplanner/ext/fares/impl/SFBayFareServiceImpl.java 0.00% <0.00%> (ø)
...a/org/opentripplanner/api/mapping/RouteMapper.java 0.00% <0.00%> (ø)
...a/org/opentripplanner/api/model/ApiRouterInfo.java 0.00% <0.00%> (ø)
...agger/RemoveBikerentalWithMostlyWalkingFilter.java 82.35% <0.00%> (ø)
...ntripplanner/routing/api/request/RouteRequest.java 72.83% <ø> (-0.31%) ⬇️
.../opentripplanner/routing/impl/GraphPathFinder.java 70.45% <ø> (+3.06%) ⬆️
...ner/transit/raptor/api/path/PathStringBuilder.java 100.00% <ø> (ø)
...rg/opentripplanner/visualizer/GraphVisualizer.java 0.00% <0.00%> (ø)
...java/org/opentripplanner/visualizer/ShowGraph.java 0.00% <ø> (ø)
... and 23 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@hannesj hannesj merged commit 485e32b into opentripplanner:dev-2.x Sep 14, 2022
@hannesj hannesj deleted the otp2_leg_mode branch September 14, 2022 11:06
hannesj added a commit that referenced this pull request Nov 14, 2022
hannesj added a commit to entur/OpenTripPlanner that referenced this pull request Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants