From 12a443e379ea2c1c87200f451621d7c2baf2c714 Mon Sep 17 00:00:00 2001 From: Andrew Ziehl Date: Tue, 29 May 2018 09:39:21 -0700 Subject: [PATCH] Remove current case before getting datasources for common files case. # Conflicts: # Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java --- .../org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java index 1cc810e08c..bf7a656aa3 100644 --- a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java +++ b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java @@ -359,6 +359,7 @@ public final class CommonFilesPanel extends javax.swing.JPanel { protected Map doInBackground() throws Exception { List dataSources = EamDb.getInstance().getCases(); + dataSources.remove(EamDb.getInstance().getCase(Case.getCurrentCase())); Map caseMap = mapDataSources(dataSources); return caseMap;