From f24fb66c0129ce0d17f19e4b9cb45b43c23289d9 Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Tue, 26 Nov 2019 13:37:55 -0500 Subject: [PATCH] Removing redundant conditional --- .../autopsy/keywordsearch/KeywordSearchIngestModule.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchIngestModule.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchIngestModule.java index 67e6d5076c..fb46c40c3d 100644 --- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchIngestModule.java +++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchIngestModule.java @@ -638,11 +638,6 @@ public final class KeywordSearchIngestModule implements FileIngestModule { extractStringsAndIndex(aFile); return; } - if (fileType.equals(MimeTypes.PLAIN_TEXT)) { - if (indexTextFile(aFile)) { - return; - } - } if (!extractTextAndIndex(aFile)) { // Text extractor not found for file. Extract string only. putIngestStatus(jobId, aFile.getId(), IngestStatus.SKIPPED_ERROR_TEXTEXTRACT);