mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 05:52:06 +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