From c5ddee390c6b8c585dcd32776e2ff19a57572530 Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Wed, 21 Aug 2019 17:37:26 -0400 Subject: [PATCH] 5370 address codacy complaint --- Core/src/org/sleuthkit/autopsy/filequery/FileSearch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/filequery/FileSearch.java b/Core/src/org/sleuthkit/autopsy/filequery/FileSearch.java index 8678bcdcb0..de93e43106 100644 --- a/Core/src/org/sleuthkit/autopsy/filequery/FileSearch.java +++ b/Core/src/org/sleuthkit/autopsy/filequery/FileSearch.java @@ -214,7 +214,7 @@ class FileSearch { * * @throws FileSearchException */ - private synchronized static LinkedHashMap> runFileSearch( + private synchronized static Map> runFileSearch( List filters, AttributeType groupAttributeType, FileGroup.GroupSortingAlgorithm groupSortingType, @@ -244,7 +244,7 @@ class FileSearch { groupCache.put(groupName, resultHashMap.get(groupName)); } // Return a version of the results in general Java objects - return searchResults.toLinkedHashMap(); + return resultHashMap; } /**