Merge pull request #120 from cemyabansu/patch-1

Documentation fix: setPort() accepts int not String
This commit is contained in:
Florian Schmaus 2017-03-30 10:43:25 +02:00 committed by GitHub
commit c8e7c4804b
1 changed files with 1 additions and 1 deletions

View File

@ -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);