mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
5677 fix codacy complaints
This commit is contained in:
parent
98606fc471
commit
cad690a600
@ -145,7 +145,7 @@ class FileSearch {
|
||||
*
|
||||
* @throws FileSearchException
|
||||
*/
|
||||
static LinkedHashMap<GroupKey, Integer> getGroupSizes(String userName,
|
||||
static Map<GroupKey, Integer> getGroupSizes(String userName,
|
||||
List<FileSearchFiltering.FileFilter> filters,
|
||||
AttributeType groupAttributeType,
|
||||
FileGroup.GroupSortingAlgorithm groupSortingType,
|
||||
|
@ -120,7 +120,7 @@ public class ImageThumbnailPanel extends javax.swing.JPanel implements ListCellR
|
||||
fileSizeLabel.setText(Bundle.ImageThumbnailPanel_sizeLabel_text(value.getResultFile().getFirstInstance().getSize()));
|
||||
countLabel.setText(Bundle.ImageThumbnailPanel_countLabel_text(value.getResultFile().getAllInstances().size()));
|
||||
thumbnailLabel.setIcon(new ImageIcon(value.getThumbnail()));
|
||||
isDeletedLabel.setVisible(value.getResultFile().getIsDeleted());
|
||||
isDeletedLabel.setVisible(value.getResultFile().isDeleted());
|
||||
switch (value.getResultFile().getScore()) {
|
||||
case NOTABLE_SCORE:
|
||||
scoreLabel.setIcon(NOTABLE_ICON_SCORE);
|
||||
|
@ -132,7 +132,7 @@ class ResultFile {
|
||||
*
|
||||
* @return The deleted status of this ResultFile.
|
||||
*/
|
||||
boolean getIsDeleted() {
|
||||
boolean isDeleted() {
|
||||
return isDeleted;
|
||||
}
|
||||
|
||||
|
@ -165,7 +165,7 @@ final class VideoThumbnailPanel extends javax.swing.JPanel implements ListCellRe
|
||||
countLabel.setText(Bundle.VideoThumbnailPanel_countLabel_text(value.getResultFile().getAllInstances().size()));
|
||||
addThumbnails(value);
|
||||
imagePanel.setBackground(isSelected ? SELECTION_COLOR : list.getBackground());
|
||||
deletedLabel.setVisible(value.getResultFile().getIsDeleted());
|
||||
deletedLabel.setVisible(value.getResultFile().isDeleted());
|
||||
switch (value.getResultFile().getScore()) {
|
||||
case NOTABLE_SCORE:
|
||||
scoreLabel.setIcon(NOTABLE_ICON_SCORE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user