From b80c7d69c7fd6a99376ac6207629dc90bff3a541 Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Thu, 13 Jun 2019 15:36:05 -0400 Subject: [PATCH] 5184 display name for FileKnown status not enum --- .../centralrepository/contentviewer/OccurrencePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OccurrencePanel.java b/Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OccurrencePanel.java index d8b18d5f82..36877a124d 100644 --- a/Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OccurrencePanel.java +++ b/Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OccurrencePanel.java @@ -175,7 +175,7 @@ final class OccurrencePanel extends javax.swing.JPanel { org.openide.awt.Mnemonics.setLocalizedText(knownStatusLabel, Bundle.OccurrencePanel_commonPropertyKnownStatusLabel_text()); addItemToBag(gridY, 0, 0, 0, knownStatusLabel); javax.swing.JLabel knownStatusValue = new javax.swing.JLabel(); - knownStatusValue.setText(knownStatus.toString()); + knownStatusValue.setText(knownStatus.getName()); if (knownStatus == TskData.FileKnown.BAD) { knownStatusValue.setForeground(Color.RED); }