From 44a02c61d75b09a02cf47bae369faac6af374127 Mon Sep 17 00:00:00 2001 From: sidheshenator Date: Fri, 20 Mar 2015 10:23:45 -0400 Subject: [PATCH] serialize with appropriate file name --- Core/src/org/sleuthkit/autopsy/ingest/IngestJobSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/ingest/IngestJobSettings.java b/Core/src/org/sleuthkit/autopsy/ingest/IngestJobSettings.java index c3884b5930..b10bd48c2d 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/IngestJobSettings.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/IngestJobSettings.java @@ -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. 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); } } catch (IOException ex) {