diff --git a/source/net/filebot/cli/ScriptShellBaseClass.java b/source/net/filebot/cli/ScriptShellBaseClass.java index a573994d..b3955668 100644 --- a/source/net/filebot/cli/ScriptShellBaseClass.java +++ b/source/net/filebot/cli/ScriptShellBaseClass.java @@ -50,10 +50,10 @@ import com.sun.jna.Platform; public abstract class ScriptShellBaseClass extends Script { - private Map defaultValues; + private final Map defaultValues = synchronizedMap(new LinkedHashMap()); public void setDefaultValues(Map values) { - this.defaultValues = new LinkedHashMap(values); + defaultValues.putAll(values); } public Map getDefaultValues() {