* refactor

This commit is contained in:
Reinhard Pointner 2015-01-13 08:30:16 +00:00
parent fd645a0de1
commit 020b3f5468
1 changed files with 2 additions and 2 deletions

View File

@ -50,10 +50,10 @@ import com.sun.jna.Platform;
public abstract class ScriptShellBaseClass extends Script {
private Map<String, Object> defaultValues;
private final Map<String, Object> defaultValues = synchronizedMap(new LinkedHashMap<String, Object>());
public void setDefaultValues(Map<String, ?> values) {
this.defaultValues = new LinkedHashMap<String, Object>(values);
defaultValues.putAll(values);
}
public Map<String, Object> getDefaultValues() {