1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +01:00

Add TODO comment to XmlStringBuilder

This commit is contained in:
Florian Schmaus 2019-06-10 17:36:58 +02:00
parent 1f8b7273a8
commit b3b242f397

View file

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