mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Merge pull request #3801 from wschaeferB/RemoveDuplicateComment-may
Remove duplicate comment adding from flagFile in encryptionDetection …
This commit is contained in:
commit
4a3cd46e8f
@ -184,10 +184,6 @@ final class EncryptionDetectionFileIngestModule extends FileIngestModuleAdapter
|
|||||||
private IngestModule.ProcessResult flagFile(AbstractFile file, BlackboardArtifact.ARTIFACT_TYPE artifactType, String comment) {
|
private IngestModule.ProcessResult flagFile(AbstractFile file, BlackboardArtifact.ARTIFACT_TYPE artifactType, String comment) {
|
||||||
try {
|
try {
|
||||||
BlackboardArtifact artifact = file.newArtifact(artifactType);
|
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,
|
artifact.addAttribute(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_COMMENT,
|
||||||
EncryptionDetectionModuleFactory.getModuleName(), comment));
|
EncryptionDetectionModuleFactory.getModuleName(), comment));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user