mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Merge pull request #120 from cemyabansu/patch-1
Documentation fix: setPort() accepts int not String
This commit is contained in:
commit
c8e7c4804b
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()
|
||||||
.setUsernameAndPassword("username", "password")
|
.setUsernameAndPassword("username", "password")
|
||||||
.setXmppDomain("jabber.org")
|
.setXmppDomain("jabber.org")
|
||||||
.setHost("earl.jabber.org")
|
.setHost("earl.jabber.org")
|
||||||
.setPort("8222")
|
.setPort(8222)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
AbstractXMPPConnection conn2 = **new** XMPPTCPConnection(config);
|
AbstractXMPPConnection conn2 = **new** XMPPTCPConnection(config);
|
||||||
|
|
Loading…
Reference in a new issue