mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Codeacy cleanup
This commit is contained in:
parent
5bc8c4bbcf
commit
d1fa7c0cd1
@ -464,7 +464,9 @@ public class DataContentViewerOtherCases extends javax.swing.JPanel implements D
|
||||
.filter(artifactInstance -> !artifactInstance.getCorrelationCase().getCaseUUID().equals(caseUUID)
|
||||
|| !artifactInstance.getCorrelationDataSource().getName().equals(dataSourceName)
|
||||
|| !artifactInstance.getCorrelationDataSource().getDeviceID().equals(deviceId))
|
||||
.collect(Collectors.toMap(c -> new ArtifactKey(c.getCorrelationDataSource().getDeviceID(), c.getFilePath()), c -> c)));
|
||||
.collect(Collectors.toMap(
|
||||
correlationAttr -> new ArtifactKey(correlationAttr.getCorrelationDataSource().getDeviceID(), correlationAttr.getFilePath()),
|
||||
correlationAttr -> correlationAttr)));
|
||||
}
|
||||
|
||||
if (corAttr.getCorrelationType().getDisplayName().equals("Files")) {
|
||||
@ -482,6 +484,7 @@ public class DataContentViewerOtherCases extends javax.swing.JPanel implements D
|
||||
} catch (TskCoreException ex) {
|
||||
// do nothing.
|
||||
// @@@ Review this behavior
|
||||
LOGGER.log(Level.SEVERE, "Exception while querying open case.", ex); // NON-NLS
|
||||
}
|
||||
|
||||
return new HashMap<>(0);
|
||||
|
@ -24,8 +24,8 @@ package org.sleuthkit.autopsy.commonfilesearch;
|
||||
*/
|
||||
final public class FileInstanceMetadata {
|
||||
|
||||
private Long objectId;
|
||||
private String dataSourceName;
|
||||
private final Long objectId;
|
||||
private final String dataSourceName;
|
||||
|
||||
/**
|
||||
* Create meta data required to find an abstract file and build a FileInstanceNode.
|
||||
|
Loading…
x
Reference in New Issue
Block a user