1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-12-18 11:01:08 +01:00

Change Element.toXml() to toXml(String enclosingNamespace)

This commit is contained in:
Florian Schmaus 2018-04-25 14:20:18 +02:00
parent 380f9a2b72
commit 5ab2903c32
229 changed files with 634 additions and 536 deletions

View file

@ -95,7 +95,7 @@ public class AdHocCommandData extends IQ {
}
if (form != null) {
xml.append(form.toXML());
xml.append(form.toXML(null));
}
for (AdHocCommandNote note : notes) {
@ -264,7 +264,7 @@ public class AdHocCommandData extends IQ {
}
@Override
public String toXML() {
public String toXML(String enclosingNamespace) {
StringBuilder buf = new StringBuilder();
buf.append('<').append(getElementName());
buf.append(" xmlns=\"").append(getNamespace()).append("\"/>");