mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-14 11:42:04 +01:00
Return XmlStringBuilder instead of CharSequence
This commit is contained in:
parent
5682eaf8e5
commit
7fb6e685a7
2 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ public class DataExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
@Override
|
||||
public CharSequence toXML(XmlEnvironment xmlEnvironment) {
|
||||
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment) {
|
||||
XmlStringBuilder xml = new XmlStringBuilder(this, xmlEnvironment);
|
||||
xml.rightAngleBracket();
|
||||
xml.escape(this.getDataAsString());
|
||||
|
|
|
@ -101,7 +101,7 @@ public class MetadataExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
@Override
|
||||
public CharSequence toXML(XmlEnvironment xmlEnvironment) {
|
||||
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment) {
|
||||
XmlStringBuilder xml = new XmlStringBuilder(this, xmlEnvironment);
|
||||
appendInfoElements(xml);
|
||||
appendPointerElements(xml);
|
||||
|
|
Loading…
Reference in a new issue