From 61177fd11d19b9ba8b87d3c0ee849ae701f3575f Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Fri, 31 Jan 2020 13:32:34 -0500 Subject: [PATCH] 5979 add comment for private helper method --- .../org/sleuthkit/autopsy/filequery/ResultsPanel.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/filequery/ResultsPanel.java b/Core/src/org/sleuthkit/autopsy/filequery/ResultsPanel.java index 6e8f10a27a..6c32aab063 100644 --- a/Core/src/org/sleuthkit/autopsy/filequery/ResultsPanel.java +++ b/Core/src/org/sleuthkit/autopsy/filequery/ResultsPanel.java @@ -769,8 +769,16 @@ public class ResultsPanel extends javax.swing.JPanel { return null; } + /** + * Create the string that will be used as the preview for the specified + * AbstractFile. + * + * @param file The AbstractFile to create the preview for. + * + * @return The String which is the preview for the specified + * AbstractFile. + */ private String createPreview(AbstractFile file) { - byte[] data = new byte[256]; int bytesRead = 0; if (file.getSize() > 0) {