Fix quay duplicates overwriting stop index - #4964
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #4964 +/- ##
==========================================
Coverage 64.06% 64.07%
- Complexity 13579 13589 +10
==========================================
Files 1675 1675
Lines 66229 66243 +14
Branches 7147 7147
==========================================
+ Hits 42429 42443 +14
- Misses 21428 21429 +1
+ Partials 2372 2371 -1
... and 3 files with indirect coverage changes 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 in Codecov by Sentry. |
|
The commit list contains some which are not part of the PR. Can you please rebase to clean this up? |
|
I think you made it worse. Can you please use Alternatively, we can also squash everything into a single commit when we merge this. |
7e8c6e2 to
dd01e51
Compare
|
I miss the big picture, could you add a few words in the PR description to explain what was wrong and how you solved it? |
| transitMode, | ||
| wheelchair | ||
| ); | ||
| return quay == null |
There was a problem hiding this comment.
I cannot see any code path that leads to a null quay. You could remove the null check and annotate the method parameter with a Nonnull annotation
The problem was that our data contains no shared data for stations and stops so that all of these are declared in multiple files. This lead to a situation where boarding and alighting was only possible for the last line referencing this quay that was read. |
| @@ -1,5 +1,6 @@ | |||
| package org.opentripplanner.netex.mapping; | |||
|
|
|||
| import jakarta.validation.constraints.NotNull; | |||
There was a problem hiding this comment.
The rest of the codebase uses @javax.annotation.Nonnull rather than @jakarta.validation.constraints.NotNull
There was a problem hiding this comment.
Oh good point, I will change that
|
Can you resolve the conflicts? |
redo all changes to overwrite faulty history
|
Well it looks like I broke it again |
|
In this case you could have just merged dev-2.x. We don't require a linear history. |
284c5f5 to
4130fde
Compare
|
The hickup was caused by the following:
Solution: merge was reverted locally and then correctly force-pushed. History should now be clean. |
|
Thanks for solving this. Something to remember for the future: it's preferable to not rebase/force-push after the review has started because this means the "review state" (which files have been changed since you last viewed) is wiped out. |
Issue
closes #4949