From ba5c2e46d894367d6c0b3313df12736050e49ac9 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 27 Apr 2021 16:56:39 +0200 Subject: [PATCH] [smack-core] Fix javadoc of EmbeddedExtensionProvider --- .../smack/provider/EmbeddedExtensionProvider.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/provider/EmbeddedExtensionProvider.java b/smack-core/src/main/java/org/jivesoftware/smack/provider/EmbeddedExtensionProvider.java index 3525e26b7..4b1c7b778 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/provider/EmbeddedExtensionProvider.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/provider/EmbeddedExtensionProvider.java @@ -41,9 +41,9 @@ import org.jivesoftware.smack.xml.XmlPullParserException; * smack.properties file. Then they will be automatically picked up and used to parse * any child elements. * - *
  * For example, given the following message
  *
+ * 
  * <message from='pubsub.shakespeare.lit' to='francisco@denmark.lit' id='foo>
  *    <event xmlns='http://jabber.org/protocol/pubsub#event>
  *       <items node='princely_musings'>
@@ -57,6 +57,7 @@ import org.jivesoftware.smack.xml.XmlPullParserException;
  *       </items>
  *    </event>
  * </message>
+ * 
* * I would have a classes * ItemsProvider extends {@link EmbeddedExtensionProvider} @@ -67,6 +68,7 @@ import org.jivesoftware.smack.xml.XmlPullParserException; * These classes are then registered in the meta-inf/smack.providers file * as follows. * + *
  *   <extensionProvider>
  *      <elementName>items</elementName>
  *      <namespace>http://jabber.org/protocol/pubsub#event</namespace>
@@ -77,7 +79,6 @@ import org.jivesoftware.smack.xml.XmlPullParserException;
  *       <namespace>http://jabber.org/protocol/pubsub#event</namespace>
  *       <className>org.jivesoftware.smackx.provider.ItemProvider</className>
  *   </extensionProvider>
- *
  * 
* * @author Robin Collier