mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-23 02:58:00 +01:00
core: fix javadoc of Stanza.getExtensionElement(String, String)
The element name must not be null or empty.
This commit is contained in:
parent
7a57bb7c09
commit
7bc2ebb731
1 changed files with 2 additions and 3 deletions
|
@ -350,11 +350,10 @@ public abstract class Stanza implements StanzaView, TopLevelStreamElement {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the first extension that matches the specified element name and
|
* Returns the first extension that matches the specified element name and
|
||||||
* namespace, or <code>null</code> if it doesn't exist. If the provided elementName is null,
|
* namespace, or <code>null</code> if it doesn't exist. Extensions are
|
||||||
* only the namespace is matched. Extensions are
|
|
||||||
* are arbitrary XML elements in standard XMPP stanzas.
|
* are arbitrary XML elements in standard XMPP stanzas.
|
||||||
*
|
*
|
||||||
* @param elementName the XML element name of the extension. (May be null)
|
* @param elementName the XML element name of the extension.
|
||||||
* @param namespace the XML element namespace of the extension.
|
* @param namespace the XML element namespace of the extension.
|
||||||
* @return the extension, or <code>null</code> if it doesn't exist.
|
* @return the extension, or <code>null</code> if it doesn't exist.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue