mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
6204 adding null check to prevent NPE during time filtering of geo data
This commit is contained in:
parent
496939e684
commit
54c4427e47
@ -217,7 +217,7 @@ abstract class AbstractWaypointFetcher implements WaypointBuilder.WaypointFilter
|
|||||||
for (Track track : tracks) {
|
for (Track track : tracks) {
|
||||||
if (mostRecent == null) {
|
if (mostRecent == null) {
|
||||||
mostRecent = track.getStartTime();
|
mostRecent = track.getStartTime();
|
||||||
} else {
|
} else if (track.getStartTime() != null) {
|
||||||
mostRecent = Math.max(mostRecent, track.getStartTime());
|
mostRecent = Math.max(mostRecent, track.getStartTime());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user