Skip to content

Store stop indices in leg and use them to simplify logic in TripTimeShortHelper - #3820

Merged
hannesj merged 1 commit into
opentripplanner:dev-2.xfrom
entur:otp2_fix_TripTimeShortHelper
Jan 25, 2022
Merged

hannesj merged 1 commit into
opentripplanner:dev-2.xfrom
entur:otp2_fix_TripTimeShortHelper

Conversation

@hannesj

@hannesj hannesj commented Jan 17, 2022

Copy link
Copy Markdown
Contributor

Summary

Currently the matching for the estimated calls sometimes fail. This simplifies the logic and stores the proper stop indices in the leg. These indices could be used in the future to remove things from the Leg, which could be fetched in the mappers.

Unit tests

None changed

Code style

✅

Documentation

None needed

Changelog

The changelog file
is generated from the pull-request title, make sure the title describe the feature or issue fixed.
To exclude the PR from the changelog add [changelog skip] in the title.

@hannesj
hannesj requested a review from a team as a code owner January 17, 2022 22:34
@hannesj hannesj added !Bug Apply to issues describing a bug and PRs witch fixes it. !Technical Debt Improve code quality, no functional changes. and removed !Bug Apply to issues describing a bug and PRs witch fixes it. labels Jan 17, 2022
@hannesj hannesj added this to the 2.1 milestone Jan 17, 2022

@leonardehrenfried leonardehrenfried left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good to go if you rename the variable as @t2gran suggests.

@hannesj
hannesj merged commit 6832585 into opentripplanner:dev-2.x Jan 25, 2022
t2gran pushed a commit that referenced this pull request Jan 25, 2022
@hannesj
hannesj deleted the otp2_fix_TripTimeShortHelper branch March 15, 2022 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

!Bug Apply to issues describing a bug and PRs witch fixes it. !Technical Debt Improve code quality, no functional changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants