diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-01-03 14:37:36 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-01-03 14:37:36 +0000 |
| commit | 6e97bf5bb28ad5a63f396873399a457be6fe779d (patch) | |
| tree | 395a7e154d43afddc2109f76186e25f88e3dfc17 /src | |
| parent | 4f8ad8f0588564679cb8ccb9ae4592738810d800 (diff) | |
Remove extra constructors from XmlElement
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/java/org/zwobble/mammoth/xml/XmlElement.java | 9 |
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; |
