mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
5979 add comment for private helper method
This commit is contained in:
parent
0219179071
commit
61177fd11d
@ -769,8 +769,16 @@ public class ResultsPanel extends javax.swing.JPanel {
|
|||||||
return null;
|
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) {
|
private String createPreview(AbstractFile file) {
|
||||||
|
|
||||||
byte[] data = new byte[256];
|
byte[] data = new byte[256];
|
||||||
int bytesRead = 0;
|
int bytesRead = 0;
|
||||||
if (file.getSize() > 0) {
|
if (file.getSize() > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user