mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +01:00
setPort accept integer only
changed string to int. setPort function is only accepting integer.
This commit is contained in:
parent
08c228ef99
commit
430cfa0ec5
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