From b3b242f397121e3e53610bf74c36af22dd343c8f Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 10 Jun 2019 17:36:58 +0200 Subject: [PATCH] Add TODO comment to XmlStringBuilder --- .../main/java/org/jivesoftware/smack/util/XmlStringBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/util/XmlStringBuilder.java b/smack-core/src/main/java/org/jivesoftware/smack/util/XmlStringBuilder.java index 2cf4496db..e4c7531f7 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/util/XmlStringBuilder.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/util/XmlStringBuilder.java @@ -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; }