mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-26 14:17:57 +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")
|
||||
.setXmppDomain("jabber.org")
|
||||
.setHost("earl.jabber.org")
|
||||
.setPort("8222")
|
||||
.setPort(8222)
|
||||
.build();
|
||||
|
||||
AbstractXMPPConnection conn2 = **new** XMPPTCPConnection(config);
|
||||
|
|
Loading…
Reference in a new issue