mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
serialize with appropriate file name
This commit is contained in:
parent
5cd90e306b
commit
44a02c61d7
@ -379,7 +379,7 @@ public class IngestJobSettings {
|
|||||||
// This block of code gets rid of that variable instance number and helps maitains constant module name over multiple runs.
|
// This block of code gets rid of that variable instance number and helps maitains constant module name over multiple runs.
|
||||||
moduleSettingsFilePath.replaceAll("[$][\\d]+.settings$", "\\$.settings");
|
moduleSettingsFilePath.replaceAll("[$][\\d]+.settings$", "\\$.settings");
|
||||||
}
|
}
|
||||||
try (NbObjectOutputStream out = new NbObjectOutputStream(new FileOutputStream(getModuleSettingsFilePath(factory)))) {
|
try (NbObjectOutputStream out = new NbObjectOutputStream(new FileOutputStream(moduleSettingsFilePath))) {
|
||||||
out.writeObject(settings);
|
out.writeObject(settings);
|
||||||
}
|
}
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user