Move nearby stop and place finder classes to a new package and move nearby stop finding to happen in one interface#7565
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #7565 +/- ##
==========================================
Coverage 72.55% 72.55%
- Complexity 21270 21271 +1
==========================================
Files 2379 2377 -2
Lines 86392 86424 +32
Branches 8487 8487
==========================================
+ Hits 62678 62702 +24
- Misses 20716 20724 +8
Partials 2998 2998 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1a7c15d to
ab4b283
Compare
|
Is this ready for review? |
Not yet. |
2818881 to
431f087
Compare
|
Now this is ready for review. I plan to create a follow up pr where I move the finders to dagger context and do some necessary refactoring to how the nearbystopfinders are constructed. |
| public List<NearbyStop> findNearbyStops(Coordinate coordinate, double radiusMeters) { | ||
| throw new UnsupportedOperationException( | ||
| "This method is currently unsupported for this implementation." | ||
| ); | ||
| } |
There was a problem hiding this comment.
I cannot rememeber the conclusion: will this be split into two interfaces?
There was a problem hiding this comment.
We sort of decided to use one interface, but at that point we didn't really consider this implementation. I started to wonder if we actually should split the interface into two.
leonardehrenfried
left a comment
There was a problem hiding this comment.
This is in line with what we discussed: it cleans up this package mess and moves the code into the right direction.
There will probably be follow ups but this is ready to merge.
|
Conflicts, I'm afraid. |
|
More conflicts. |
|
I think I'll squash merge this once this is approved since this now has 5+ merge commits and 1 real commit :D |
|
Squash : You allready lost history on one file, squashing would maybe loose history on more files. If you reset --hard to The two commits is based on the same dev-2.x commit you merged in last and the result is 100% equal to to the content in this PR right now. I will approve ✅ as soon as this is done. |
490999a to
2b031b9
Compare
Summary
Moves nearbystopfinder classes away from graph builder.
Issue
No issue
Unit tests
No functional changes
Documentation
Not updated
Changelog
Skipped