diff --git a/smack-core/src/main/java/org/jivesoftware/smack/packet/IQ.java b/smack-core/src/main/java/org/jivesoftware/smack/packet/IQ.java index 1e1c4c174..6fafd8727 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/packet/IQ.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/packet/IQ.java @@ -163,9 +163,9 @@ public abstract class IQ extends Stanza { } /** - * This method must be overwritten by IQ subclasses to create their child content. It is important that the builder - * does not include the final end element. This will be done automatically by IQChildelementXmlStringBuilder - * after eventual existing stanza(/packet) extensions have been added. + * This method must be overwritten by IQ subclasses to create their child content. It is important you don't use the builder + * to add the final end tag. This will be done automatically by {@link IQChildElementXmlStringBuilder} + * after eventual existing {@link ExtensionElement}s have been added. *

* For example to create an IQ with a extra attribute and an additional child element *

@@ -195,7 +195,7 @@ public abstract class IQ extends Stanza { * xml.attribute("myAttribute", "myAttributeValue"); * xml.setEmptyElement(); * - * If your IQ does not contain any attributes or child elements (besides stanza(/packet) extensions), consider sub-classing + * If your IQ does not contain any attributes or child elements (besides {@link ExtensionElement}s), consider sub-classing * {@link SimpleIQ} instead. * * @param xml a pre-created builder which already has the child element and the 'xmlns' attribute set.