mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-05 04:31:07 +01:00
Returning a generic would allow for
List<ExtensionElement> list = stanza.getExtension("foo", "bar");
to compile (Note the we are calling getExtension(), not
getExtension*s*()).
Users are encouraged to use the type safe getExtension(Class<? extends
ExtensionElement) variant instead.
Fixes SMACK-825.
|
||
|---|---|---|
| .. | ||
| main | ||
| test/java/org/jivesoftware/smackx/omemo | ||