mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Codacy
This commit is contained in:
parent
e9bea092c9
commit
0766f645a6
@ -35,9 +35,9 @@ class OtherOccurrenceNodeData {
|
|||||||
|
|
||||||
// For now hard code the string for the central repo files type, since
|
// For now hard code the string for the central repo files type, since
|
||||||
// getting it dynamically can fail.
|
// 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 deviceID;
|
||||||
private String dataSourceName;
|
private String dataSourceName;
|
||||||
private final String filePath;
|
private final String filePath;
|
||||||
@ -83,7 +83,7 @@ class OtherOccurrenceNodeData {
|
|||||||
deviceID = dataSource.getDeviceId();
|
deviceID = dataSource.getDeviceId();
|
||||||
dataSourceName = dataSource.getName();
|
dataSourceName = dataSource.getName();
|
||||||
} catch (TskDataException | TskCoreException ex) {
|
} 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();
|
filePath = newFile.getParentPath() + newFile.getName();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user