5979 add comment for private helper method

This commit is contained in:
William Schaefer 2020-01-31 13:32:34 -05:00
parent 0219179071
commit 61177fd11d

View File

@ -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) {