Updated based on review comments

This commit is contained in:
Kelly Kelly 2020-03-04 16:21:40 -05:00
parent 6470937098
commit 08bd00734d
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ public class Route extends GeoPath {
// constructor will take care of creating an unmodifiable List // constructor will take care of creating an unmodifiable List
private final List<Waypoint.Property> propertiesList; private final List<Waypoint.Property> propertiesList;
private static final TskGeoWaypointsUtil attributeUtil = new TskGeoWaypointsUtil(""); private static final TskGeoWaypointsUtil attributeUtil = new TskGeoWaypointsUtil();
/** /**
* Construct a route for the given artifact. * Construct a route for the given artifact.

View File

@ -38,7 +38,7 @@ public final class Track extends GeoPath{
private final Long startTimestamp; private final Long startTimestamp;
private final Long endTimeStamp; private final Long endTimeStamp;
private static final TskGeoTrackpointsUtil attributeUtil = new TskGeoTrackpointsUtil(""); private static final TskGeoTrackpointsUtil attributeUtil = new TskGeoTrackpointsUtil();
/** /**
* Construct a new Track for the given artifact. * Construct a new Track for the given artifact.
@ -204,7 +204,7 @@ public final class Track extends GeoPath{
list.add(new Property(Bundle.Track_distanceTraveled_displayName(), value.toString())); list.add(new Property(Bundle.Track_distanceTraveled_displayName(), value.toString()));
} }
value = point.getDistanceFromHP(); value = point.getDistanceFromHomePoint();
if (value != null) { if (value != null) {
list.add(new Property(Bundle.Track_distanceFromHome_displayName(), value.toString())); list.add(new Property(Bundle.Track_distanceFromHome_displayName(), value.toString()));
} }