Smack/smack-extensions/src/test/java/org/jivesoftware/smackx
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
..
amp Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
blocking Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
bob Use StandardCharsets.(UTF_8|US_ASCII) 2019-05-08 12:44:48 +02:00
bytestreams Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
caps Apply builder pattern to DiscoverInfo 2019-10-29 11:14:55 +01:00
commands/provider Add CommandsProviderTest 2018-06-03 17:01:19 +02:00
delay/provider Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
filetransfer Introduce XmlEnvironment 2019-02-05 13:18:03 +01:00
forward junit: bump to 5.6.0 2020-02-23 19:12:54 +01:00
geoloc Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
iqlast Fix minor codestyle issues 2017-12-17 11:03:46 +01:00
iqversion junit: bump to 5.6.0 2020-02-23 19:12:54 +01:00
jingle Rework XML Element hierarchy and XmlStringBuilder 2019-09-07 18:17:08 +02:00
jiveproperties Treat <body/> just like all other extension elements in Message 2018-05-09 17:13:09 +02:00
last_interaction Introduce StanzaBuilder 2019-10-25 21:41:55 +02:00
mediaelement Improve how XmlStringBuilder handles enclosing XML environments 2019-09-04 10:22:56 +02:00
message_correct Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
mood Introduce StanzaBuilder 2019-10-25 21:41:55 +02:00
muc Apply builder pattern to DiscoverInfo 2019-10-29 11:14:55 +01:00
ping junit: bump to 5.6.0 2020-02-23 19:12:54 +01:00
privacy/provider Introduce UInt(16|32) datatypes 2019-06-11 12:47:39 +02:00
pubsub junit: bump to 5.6.0 2020-02-23 19:12:54 +01:00
receipts Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
rsm/provider Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
shim/provider Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
time Fix (Privacy|Time)ProviderTest 2019-04-29 08:52:36 +02:00
usertune Organize imports everywhere 2019-10-29 21:12:22 +01:00
vcardtemp Enable ModifierOrder checkstyle check 2018-03-29 12:35:11 +02:00
xdata/packet Introduce FormFieldChildElement and make FormField immutable 2019-06-11 12:47:39 +02:00
xdatalayout/packet Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
xdatavalidation Introduce UInt(16|32) datatypes 2019-06-11 12:47:39 +02:00
xhtmlim/provider junit: bump to 5.6.0 2020-02-23 19:12:54 +01:00
ExtensionsInitializerTest.java Add CustomImportOrder checkstyle rule 2017-06-14 17:12:43 +02:00
InitExtensions.java Bump "Error Prone" to 2.3.2 2018-10-31 16:06:31 +01:00