mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-11-01 16:40:26 +00:00
Replace usage of deprecated method with alternative.
Deprecated method: ``` org.jivesoftware.smack.SmackException.NoResponseException.newWith(org.jivesoftware.smack.XMPPConnection, org.jivesoftware.smack.filter.StanzaFilter) ``` Alternative method: ``` org.jivesoftware.smack.SmackException.NoResponseException.newWith(org.jivesoftware.smack.XMPPConnection, org.jivesoftware.smack.filter.StanzaFilter) ```
This commit is contained in:
parent
48708bdb07
commit
f450301048
@ -581,7 +581,7 @@ public class CheckUpdates {
|
||||
}
|
||||
|
||||
if (response == null) {
|
||||
throw SmackException.NoResponseException.newWith( connection, collector );
|
||||
throw SmackException.NoResponseException.newWith(connection, collector.getStanzaFilter());
|
||||
}
|
||||
XMPPException.XMPPErrorException.ifHasErrorThenThrow( response );
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user