diff --git a/src/main/java/cz/cvut/kbss/jsonld/Configuration.java b/src/main/java/cz/cvut/kbss/jsonld/Configuration.java index 5ffd674..df0f79b 100644 --- a/src/main/java/cz/cvut/kbss/jsonld/Configuration.java +++ b/src/main/java/cz/cvut/kbss/jsonld/Configuration.java @@ -25,6 +25,14 @@ public class Configuration { private final Map config = new HashMap<>(); + public Configuration() { + } + + public Configuration(Configuration other) { + Objects.requireNonNull(other); + config.putAll(other.config); + } + public String get(ConfigParam param) { Objects.requireNonNull(param); return get(param.getName());