diff --git a/Core/src/org/sleuthkit/autopsy/filequery/FileGroup.java b/Core/src/org/sleuthkit/autopsy/filequery/FileGroup.java index f82c5c88bf..c80dcc35c7 100644 --- a/Core/src/org/sleuthkit/autopsy/filequery/FileGroup.java +++ b/Core/src/org/sleuthkit/autopsy/filequery/FileGroup.java @@ -52,7 +52,7 @@ class FileGroup implements Comparable { * @param file The ResultFile to add to the FileGroup */ void addFile(ResultFile file) { - if (getFiles().contains(file)) { + if (files.contains(file)) { ResultFile existingCopy = files.get(files.indexOf(file)); //get the copy of this which exists in the list existingCopy.addDuplicate(file.getFirstInstance()); } else { @@ -82,7 +82,7 @@ class FileGroup implements Comparable { * Sort all the files in the group */ void sortFiles(FileSorter sorter) { - Collections.sort(getFiles(), sorter); + Collections.sort(files, sorter); } /**