mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-21 22:02:06 +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
|
||||
* namespace, or <code>null</code> if it doesn't exist. If the provided elementName is null,
|
||||
* only the namespace is matched. Extensions are
|
||||
* namespace, or <code>null</code> if it doesn't exist. Extensions are
|
||||
* 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.
|
||||
* @return the extension, or <code>null</code> if it doesn't exist.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue