1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 01:29:38 +02:00

Use Resourcepart as type for the resource

This commit is contained in:
Florian Schmaus 2015-05-04 20:14:45 +02:00
parent 9354e4fb74
commit 36cc05a507
7 changed files with 62 additions and 18 deletions

View file

@ -31,6 +31,7 @@ import org.jivesoftware.smack.packet.TopLevelStreamElement;
import org.jxmpp.jid.FullJid;
import org.jxmpp.jid.JidTestUtil;
import org.jxmpp.jid.impl.JidCreate;
import org.jxmpp.jid.parts.Resourcepart;
import org.jxmpp.stringprep.XmppStringprepException;
/**
@ -116,7 +117,7 @@ public class DummyConnection extends AbstractXMPPConnection {
}
@Override
protected void loginInternal(String username, String password, String resource)
protected void loginInternal(String username, String password, Resourcepart resource)
throws XMPPException {
user = getUserJid();
authenticated = true;