mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-09 14:41:08 +01:00
Change Element.toXml() to toXml(String enclosingNamespace)
This commit is contained in:
parent
380f9a2b72
commit
5ab2903c32
229 changed files with 634 additions and 536 deletions
|
|
@ -131,10 +131,10 @@ public class Protocol {
|
|||
|
||||
if (printProtocol) {
|
||||
System.out.println("------------------- Request -------------\n");
|
||||
System.out.println(XmlUtil.prettyFormatXml(request.toXML()));
|
||||
System.out.println(XmlUtil.prettyFormatXml(request.toXML(null)));
|
||||
System.out.println("------------------- Response ------------\n");
|
||||
if (response != null) {
|
||||
System.out.println(XmlUtil.prettyFormatXml(response.toXML()));
|
||||
System.out.println(XmlUtil.prettyFormatXml(response.toXML(null)));
|
||||
}
|
||||
else {
|
||||
System.out.println("No response");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue