mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
core: improve signature of Stanza.addExtensions()
This commit is contained in:
parent
661b2743d9
commit
cdc5396f6c
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ public abstract class Stanza implements StanzaView, TopLevelStreamElement {
|
|||
* @param extensions a collection of stanza extensions
|
||||
*/
|
||||
// TODO: Mark this as deprecated once StanzaBuilder is ready and all call sites are gone.
|
||||
public final void addExtensions(Collection<ExtensionElement> extensions) {
|
||||
public final void addExtensions(Collection<? extends ExtensionElement> extensions) {
|
||||
if (extensions == null) return;
|
||||
for (ExtensionElement packetExtension : extensions) {
|
||||
addExtension(packetExtension);
|
||||
|
|
Loading…
Reference in a new issue