1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00
Smack/smack-extensions/src
Florian Schmaus 07da9ffb48 Do not have Stanza.getExtension(String, String) return a generic type
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.
2020-04-05 22:10:05 +02:00
..
integration-test/java/org/jivesoftware/smackx s/occured/occurred/ 2019-10-30 12:02:36 +01:00
main Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
test Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00