mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
6160 Restore WaypointBuilder
This commit is contained in:
parent
9e14a52645
commit
94deee76d9
@ -479,7 +479,6 @@ public final class WaypointBuilder {
|
||||
@Override
|
||||
public void process(ResultSet rs) {
|
||||
List<Waypoint> waypoints = new ArrayList<>();
|
||||
//List<List<Waypoint>> tracks = new ArrayList<>();
|
||||
try {
|
||||
while (rs.next()) {
|
||||
int artifact_type_id = rs.getInt("artifact_type_id"); //NON-NLS
|
||||
@ -487,12 +486,7 @@ public final class WaypointBuilder {
|
||||
|
||||
ARTIFACT_TYPE type = ARTIFACT_TYPE.fromID(artifact_type_id);
|
||||
if (artifactTypes.contains(type)) {
|
||||
List<Waypoint> curWaypoints = getWaypointForArtifact(skCase.getBlackboardArtifact(artifact_id), type);
|
||||
/*if (type == ARTIFACT_TYPE.TSK_GPS_TRACKPOINT ||
|
||||
type == ARTIFACT_TYPE.TSK_GPS_TRACK) {
|
||||
//tracks.add(curWaypoints);
|
||||
}*/
|
||||
waypoints.addAll(curWaypoints);
|
||||
waypoints.addAll(getWaypointForArtifact(skCase.getBlackboardArtifact(artifact_id), type));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user