Skip to content

Commit

Permalink
fix(TrackedTripData): check for null journey before assigning trip.
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup committed Dec 4, 2024
1 parent 398d7f6 commit d9cce93
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -31,7 +31,9 @@ public class TripTrackingData {
public TripTrackingData(MonitoredTrip trip, TrackedJourney journey, List<TrackingLocation> locations) {
this.trip = trip;
this.journey = journey;
this.journey.trip = trip;
if (journey != null) {
this.journey.trip = trip;
}
this.locations = locations;
}

0 comments on commit d9cce93

Please sign in to comment.