Skip to content
Snippets Groups Projects
Commit b70af118 authored by Kelly Kelly's avatar Kelly Kelly
Browse files

Fixed a few last comments

parent 7cf32dda
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
import static org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.TSK_GEO_TRACKPOINTS; import static org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.TSK_GEO_TRACKPOINTS;
import org.sleuthkit.datamodel.blackboardutils.attributes.TskGeoTrackpointsUtil; import org.sleuthkit.datamodel.blackboardutils.attributes.TskGeoTrackpointsUtil;
import org.sleuthkit.datamodel.blackboardutils.attributes.TskGeoTrackpointsUtil.GeoTrackPointList; import org.sleuthkit.datamodel.blackboardutils.attributes.TskGeoTrackpointsUtil.GeoTrackPointList;
import org.sleuthkit.datamodel.blackboardutils.attributes.TskGeoTrackpointsUtil.GeoTrackPointList.GeoTrackPoint;
/** /**
* Container class for various types of timeline events * Container class for various types of timeline events
......
...@@ -75,7 +75,7 @@ public GeoArtifactsHelper(SleuthkitCase caseDb, String moduleName, String progra ...@@ -75,7 +75,7 @@ public GeoArtifactsHelper(SleuthkitCase caseDb, String moduleName, String progra
public BlackboardArtifact addTrack(String trackName, GeoTrackPointList points, List<BlackboardAttribute> moreAttributes) throws TskCoreException, BlackboardException { public BlackboardArtifact addTrack(String trackName, GeoTrackPointList points, List<BlackboardAttribute> moreAttributes) throws TskCoreException, BlackboardException {
if(points == null) { if(points == null) {
throw new IllegalArgumentException(String.format("GeoTrackPointList is required to be non-null")); throw new IllegalArgumentException(String.format("addTrack was passed a null list of track points"));
} }
BlackboardArtifact artifact = getContent().newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_TRACK); BlackboardArtifact artifact = getContent().newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_TRACK);
...@@ -118,7 +118,7 @@ public BlackboardArtifact addTrack(String trackName, GeoTrackPointList points, L ...@@ -118,7 +118,7 @@ public BlackboardArtifact addTrack(String trackName, GeoTrackPointList points, L
public BlackboardArtifact addRoute(String routeName, Long creationTime, GeoWaypointList points, List<BlackboardAttribute> moreAttributes) throws TskCoreException, BlackboardException { public BlackboardArtifact addRoute(String routeName, Long creationTime, GeoWaypointList points, List<BlackboardAttribute> moreAttributes) throws TskCoreException, BlackboardException {
if (points == null) { if (points == null) {
throw new IllegalArgumentException(String.format("GeoWaypointList object be valid")); throw new IllegalArgumentException(String.format("addRoute was passed a null list of waypoints"));
} }
BlackboardArtifact artifact = getContent().newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_ROUTE); BlackboardArtifact artifact = getContent().newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_ROUTE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment