mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Merge pull request #2825 from eugene7646/manifest_file
Potential NPE bug fix (2629)
This commit is contained in:
commit
e538fda75c
@ -46,7 +46,11 @@ public final class Manifest implements Serializable {
|
||||
this.dateFileCreated = new Date(attrs.creationTime().toMillis());
|
||||
this.caseName = caseName;
|
||||
this.deviceId = deviceId;
|
||||
if (dataSourcePath != null) {
|
||||
this.dataSourcePath = dataSourcePath.toString();
|
||||
} else {
|
||||
this.dataSourcePath = "";
|
||||
}
|
||||
this.manifestProperties = new HashMap<>(manifestProperties);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user