From 0766f645a6aeac9cacd221ed1d848bf9e24d8743 Mon Sep 17 00:00:00 2001 From: Ann Priestman Date: Fri, 15 Jun 2018 10:59:56 -0400 Subject: [PATCH] Codacy --- .../contentviewer/OtherOccurrenceNodeData.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OtherOccurrenceNodeData.java b/Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OtherOccurrenceNodeData.java index 03d33b3140..958068fb14 100644 --- a/Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OtherOccurrenceNodeData.java +++ b/Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OtherOccurrenceNodeData.java @@ -35,9 +35,9 @@ class OtherOccurrenceNodeData { // For now hard code the string for the central repo files type, since // getting it dynamically can fail. - private final String FILE_TYPE_STR = "Files"; + private static final String FILE_TYPE_STR = "Files"; - private String caseName; + private final String caseName; private String deviceID; private String dataSourceName; private final String filePath; @@ -83,7 +83,7 @@ class OtherOccurrenceNodeData { deviceID = dataSource.getDeviceId(); dataSourceName = dataSource.getName(); } catch (TskDataException | TskCoreException ex) { - throw new EamDbException("Error loading data source for abstract file ID " + newFile.getId()); + throw new EamDbException("Error loading data source for abstract file ID " + newFile.getId(), ex); } filePath = newFile.getParentPath() + newFile.getName();