From 5386c936f276662b32bfb525dc3cb0fd52d57676 Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Wed, 23 May 2018 11:57:47 -0400 Subject: [PATCH] Remove duplicate comment adding from flagFile in encryptionDetection module --- .../EncryptionDetectionFileIngestModule.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionFileIngestModule.java b/Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionFileIngestModule.java index 0d3144c65c..1d5d5d05d1 100644 --- a/Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionFileIngestModule.java +++ b/Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionFileIngestModule.java @@ -184,10 +184,6 @@ final class EncryptionDetectionFileIngestModule extends FileIngestModuleAdapter private IngestModule.ProcessResult flagFile(AbstractFile file, BlackboardArtifact.ARTIFACT_TYPE artifactType, String comment) { try { BlackboardArtifact artifact = file.newArtifact(artifactType); - artifact.addAttribute(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_COMMENT, - EncryptionDetectionModuleFactory.getModuleName(), comment) - ); - artifact.addAttribute(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_COMMENT, EncryptionDetectionModuleFactory.getModuleName(), comment));