-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add generalizedCostMaxLimit
to page cursor
#6491
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
Conversation
application/src/test/java/org/opentripplanner/model/plan/paging/cursor/PageCursorTest.java
Outdated
Show resolved
Hide resolved
This is needed when adding new values to the token.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6491 +/- ##
=============================================
+ Coverage 70.18% 70.21% +0.03%
- Complexity 18308 18329 +21
=============================================
Files 2082 2085 +3
Lines 77188 77308 +120
Branches 7828 7840 +12
=============================================
+ Hits 54175 54284 +109
- Misses 20247 20250 +3
- Partials 2766 2774 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
LGTM just the typo that Joel pointed out already.
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.
The couple of typos can be fixed in a follow up pr by @VillePihlava for example.
application/src/main/java/org/opentripplanner/framework/token/Token.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Joel Lappalainen <[email protected]>
I merged this since @eibakke allready approved and the last commit was just spelling fixes in doc. |
Summary
This prepare the page-token to include the generalized-cost-max-limit, so we do not have to do the extra on-street seach when paging.
Issue
Unit tests
Several new tests are added
Documentation
JavaDoc is updated
Changelog
🟥 Exclude
Bumping the serialization version id
Not needed