From 98606fc4719655b1700e79e0738c352ff192e260 Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Thu, 24 Oct 2019 14:40:42 -0400 Subject: [PATCH] 5677 update comments --- .../autopsy/filequery/ImageThumbnailPanel.java | 1 - .../sleuthkit/autopsy/filequery/ResultFile.java | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/filequery/ImageThumbnailPanel.java b/Core/src/org/sleuthkit/autopsy/filequery/ImageThumbnailPanel.java index 87103fb610..96dadce56a 100644 --- a/Core/src/org/sleuthkit/autopsy/filequery/ImageThumbnailPanel.java +++ b/Core/src/org/sleuthkit/autopsy/filequery/ImageThumbnailPanel.java @@ -25,7 +25,6 @@ import javax.swing.JList; import javax.swing.ListCellRenderer; import org.openide.util.ImageUtilities; import org.openide.util.NbBundle; -import org.sleuthkit.autopsy.corecomponents.DataResultViewerTable; /** * Class which displays a thumbnail and information for an image file. diff --git a/Core/src/org/sleuthkit/autopsy/filequery/ResultFile.java b/Core/src/org/sleuthkit/autopsy/filequery/ResultFile.java index f436d70f6c..6097bb93ad 100644 --- a/Core/src/org/sleuthkit/autopsy/filequery/ResultFile.java +++ b/Core/src/org/sleuthkit/autopsy/filequery/ResultFile.java @@ -107,14 +107,31 @@ class ResultFile { instances.add(duplicate); } + /** + * Get the aggregate score of this ResultFile. Calculated as the highest + * score among all instances it represents. + * + * @return The score of this ResultFile. + */ DataResultViewerTable.Score getScore() { return currentScore; } + /** + * Get the description for the score assigned to this item. + * + * @return The score description of this ResultFile. + */ String getScoreDescription() { return scoreDescription; } + /** + * Get the aggregate deleted status of this ResultFile. A file is identified + * as deleted if all instances of it are deleted. + * + * @return The deleted status of this ResultFile. + */ boolean getIsDeleted() { return isDeleted; }