mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-17 16:26:19 +00:00
Cleanup
This commit is contained in:
@@ -25,7 +25,6 @@ import java.util.List;
|
||||
import org.openide.util.NbBundle;
|
||||
import org.sleuthkit.autopsy.coreutils.MessageNotifyUtil;
|
||||
import org.sleuthkit.datamodel.AbstractFile;
|
||||
import org.sleuthkit.datamodel.TskData;
|
||||
|
||||
/**
|
||||
* This class manages a sequence of file level ingest modules for a data source
|
||||
@@ -119,7 +118,6 @@ final class FileIngestPipeline {
|
||||
List<IngestModuleError> errors = new ArrayList<>();
|
||||
if (!this.job.isCancelled()) {
|
||||
AbstractFile file = task.getFile();
|
||||
//if(file.getType().equals(TskData.TSK_DB_FILES_TYPE_ENUM.SLACK)){ // TEMP TEMP
|
||||
for (PipelineModule module : this.modules) {
|
||||
try {
|
||||
FileIngestPipeline.ingestManager.setIngestTaskProgress(task, module.getDisplayName());
|
||||
@@ -142,7 +140,6 @@ final class FileIngestPipeline {
|
||||
if (!this.job.isCancelled()) {
|
||||
IngestManager.getInstance().fireFileIngestDone(file);
|
||||
}
|
||||
//}// END TEMP
|
||||
}
|
||||
FileIngestPipeline.ingestManager.setIngestTaskProgressCompleted(task);
|
||||
return errors;
|
||||
|
||||
@@ -29,7 +29,6 @@ import org.sleuthkit.autopsy.ingest.IngestServices;
|
||||
import org.sleuthkit.datamodel.AbstractFile;
|
||||
import org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult;
|
||||
import org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter;
|
||||
import org.sleuthkit.datamodel.TskData;
|
||||
|
||||
/**
|
||||
* Detects the type of a file based on signature (magic) values. Posts results
|
||||
@@ -85,7 +84,6 @@ public class FileTypeIdIngestModule implements FileIngestModule {
|
||||
|
||||
@Override
|
||||
public ProcessResult process(AbstractFile file) {
|
||||
|
||||
/**
|
||||
* Attempt to detect the file type. Do it within an exception firewall,
|
||||
* so that any issues with reading file content or complaints from tika
|
||||
|
||||
Reference in New Issue
Block a user