Add TODO comment to XmlStringBuilder

This commit is contained in:
Florian Schmaus 2019-06-10 17:36:58 +02:00
parent 1f8b7273a8
commit b3b242f397
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ public class XmlStringBuilder implements Appendable, CharSequence, Element {
public XmlStringBuilder attribute(String name, Enum<?> value) {
assert value != null;
// TODO: Should use toString() instead of name().
attribute(name, value.name());
return this;
}