From d337474a86ce4005dd23dd99cc30d63ec1d39b1f Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 23 May 2019 23:06:39 +0200 Subject: [PATCH] Add DiscoverItems.Item.toString() --- .../org/jivesoftware/smackx/disco/packet/DiscoverItems.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverItems.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverItems.java index 9936184a6..824649716 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverItems.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverItems.java @@ -237,5 +237,10 @@ public class DiscoverItems extends IQ { xml.closeEmptyElement(); return xml; } + + @Override + public String toString() { + return toXML().toString(); + } } }