-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add @Nullable annotations to Trip and Leg #6147
Add @Nullable annotations to Trip and Leg #6147
Conversation
f5395c4
to
9ef34d1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6147 +/- ##
=============================================
+ Coverage 69.90% 69.93% +0.02%
- Complexity 17709 17727 +18
=============================================
Files 1996 1996
Lines 75328 75401 +73
Branches 7713 7717 +4
=============================================
+ Hits 52659 52729 +70
- Misses 19992 19995 +3
Partials 2677 2677 ☔ View full report in Codecov by Sentry. |
9ef34d1
to
6c37596
Compare
I rebased because of the maven modules change |
Can you rebase again? The docs installation issue is fixed on dev-2.x. |
6c37596
to
b992e36
Compare
@@ -178,7 +179,7 @@ public void validateLeg( | |||
assertEquals(1, leg.getStreetNotes().size()); | |||
assertEquals(alert, leg.getStreetNotes().iterator().next().note.toString()); | |||
} else { | |||
assertNull(leg.getStreetNotes()); | |||
Truth.assertThat(leg.getStreetNotes()).isEmpty(); |
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.
Truth.assertThat(leg.getStreetNotes()).isEmpty(); | |
assertThat(leg.getStreetNotes()).isEmpty(); |
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.
Not applied
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.
Now it is!
db240e9
into
opentripplanner:dev-2.x
Summary
Add
@Nullable
annotiation to stuff that can be null inTrip
andLeg
. Also reorder the fields in Trip to be more in order of importance.Issue
#6048
Unit tests
No tests
Bumping the serialization version id
The fields in
Trip
are reordered, but this should not change serialization.