From 145ba4dd10ebd4f199efc12e3b437daaf0414df0 Mon Sep 17 00:00:00 2001 From: Sophie Mori Date: Tue, 11 Oct 2016 16:24:00 -0400 Subject: [PATCH] All abstract files are taggable, changed lookup in AddContentTagAction --- .../org/sleuthkit/autopsy/actions/AddContentTagAction.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/actions/AddContentTagAction.java b/Core/src/org/sleuthkit/autopsy/actions/AddContentTagAction.java index 898b9e4915..e5999fd98c 100755 --- a/Core/src/org/sleuthkit/autopsy/actions/AddContentTagAction.java +++ b/Core/src/org/sleuthkit/autopsy/actions/AddContentTagAction.java @@ -73,10 +73,7 @@ public class AddContentTagAction extends AddTagAction { * * We don't want VirtualFile and DerivedFile objects to be tagged. */ - final Collection selectedFiles = new HashSet<>(); - selectedFiles.addAll(Utilities.actionsGlobalContext().lookupAll(FsContent.class)); - selectedFiles.addAll(Utilities.actionsGlobalContext().lookupAll(LayoutFile.class)); - selectedFiles.addAll(Utilities.actionsGlobalContext().lookupAll(LocalFile.class)); + final Collection selectedFiles = new HashSet<>(Utilities.actionsGlobalContext().lookupAll(AbstractFile.class)); new Thread(() -> { for (AbstractFile file : selectedFiles) {