mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
Add TODO comment to XmlStringBuilder
This commit is contained in:
parent
1f8b7273a8
commit
b3b242f397
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue