|
|
|
@ -31,7 +31,7 @@ public class SimpleDesignerConfig implements XMLable {
|
|
|
|
|
|
|
|
|
|
private String name = ""; |
|
|
|
|
|
|
|
|
|
private final Map<String, String> content = new HashMap<>(); |
|
|
|
|
private HashMap<String, String> content = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
public void addAttr(String key, String value) { |
|
|
|
|
content.put(key, value); |
|
|
|
@ -57,7 +57,9 @@ public class SimpleDesignerConfig implements XMLable {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public Object clone() throws CloneNotSupportedException { |
|
|
|
|
return super.clone(); |
|
|
|
|
SimpleDesignerConfig cloned = (SimpleDesignerConfig) super.clone(); |
|
|
|
|
cloned.content = new HashMap<>(content); |
|
|
|
|
return cloned; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String getName() { |
|
|
|
|