mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 02:39:42 +02:00
Use XmlStringBuilder in most toXML() bodies
Also change StringUtils.escapeForXML() and Packet.toXML() to return CharSequence instead of String. XmlStringBuilder now has 'optX' methods. Remove XmlUtils in favor of XmlStringBuilder
This commit is contained in:
parent
1cf4681581
commit
978f692eb0
47 changed files with 511 additions and 412 deletions
|
@ -801,7 +801,7 @@ public class EnhancedDebugger implements SmackDebugger {
|
|||
|
||||
messagesTable.addRow(
|
||||
new Object[]{
|
||||
formatXML(packet.toXML()),
|
||||
formatXML(packet.toXML().toString()),
|
||||
dateFormatter.format(new Date()),
|
||||
packetReceivedIcon,
|
||||
packetTypeIcon,
|
||||
|
@ -862,7 +862,7 @@ public class EnhancedDebugger implements SmackDebugger {
|
|||
|
||||
messagesTable.addRow(
|
||||
new Object[]{
|
||||
formatXML(packet.toXML()),
|
||||
formatXML(packet.toXML().toString()),
|
||||
dateFormatter.format(new Date()),
|
||||
packetSentIcon,
|
||||
packetTypeIcon,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue