aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/zwobble/mammoth/xml/XmlElement.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/java/org/zwobble/mammoth/xml/XmlElement.java b/src/main/java/org/zwobble/mammoth/xml/XmlElement.java
index c44b7bb..c487a7e 100644
--- a/src/main/java/org/zwobble/mammoth/xml/XmlElement.java
+++ b/src/main/java/org/zwobble/mammoth/xml/XmlElement.java
@@ -8,17 +8,8 @@ import java.util.Map;
import java.util.Optional;
import static com.google.common.collect.Iterables.*;
-import static org.zwobble.mammoth.util.MammothMaps.map;
public class XmlElement implements XmlNode, XmlElementLike {
- public XmlElement(String name) {
- this(name, map());
- }
-
- public XmlElement(String name, Map<String, String> attributes) {
- this(name, attributes, ImmutableList.of());
- }
-
private final String name;
private final Map<String, String> attributes;
private final List<XmlNode> children;