6204 adding null check to prevent NPE during time filtering of geo data

This commit is contained in:
Ethan Roseman 2020-03-30 11:07:33 -04:00
parent 496939e684
commit 54c4427e47

View File

@ -217,7 +217,7 @@ abstract class AbstractWaypointFetcher implements WaypointBuilder.WaypointFilter
for (Track track : tracks) {
if (mostRecent == null) {
mostRecent = track.getStartTime();
} else {
} else if (track.getStartTime() != null) {
mostRecent = Math.max(mostRecent, track.getStartTime());
}
}