1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-12 05:51:08 +01:00

Rename AbstractIqBuilder subclasses to their designated names

This commit is contained in:
Florian Schmaus 2019-10-29 19:21:31 +01:00
parent 6e32305987
commit 69767e9538
16 changed files with 58 additions and 64 deletions

View file

@ -18,7 +18,7 @@ package org.jivesoftware.smackx.ping.packet;
import org.jivesoftware.smack.XMPPConnection;
import org.jivesoftware.smack.packet.IQ;
import org.jivesoftware.smack.packet.IqBuilder;
import org.jivesoftware.smack.packet.IqData;
import org.jivesoftware.smack.packet.SimpleIQ;
import org.jxmpp.jid.Jid;
@ -39,14 +39,14 @@ public class Ping extends SimpleIQ {
}
public Ping(XMPPConnection connection, Jid to) {
this(connection.getStanzaFactory().buildIqStanza(), to);
this(connection.getStanzaFactory().buildIqData(), to);
}
public Ping(IqBuilder iqBuilder, Jid to) {
public Ping(IqData iqBuilder, Jid to) {
super(iqBuilder.to(to).ofType(IQ.Type.get), ELEMENT, NAMESPACE);
}
public Ping(IqBuilder iqBuilder) {
public Ping(IqData iqBuilder) {
super(iqBuilder, ELEMENT, NAMESPACE);
}