1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52:06 +01:00

Missing comma between password and serviceName

This commit is contained in:
Yash Thakkar 2017-09-24 15:00:43 +05:30 committed by GitHub
parent 5070b79968
commit efa3f123f9

View file

@ -47,7 +47,7 @@ server. Below are code examples for making a connection:
``` ```
// Create a connection to the jabber.org server. // Create a connection to the jabber.org server.
AbstractXMPPConnection conn1 = **new** XMPPTCPConnection("username", "password" "jabber.org"); AbstractXMPPConnection conn1 = **new** XMPPTCPConnection("username", "password", "jabber.org");
conn1.connect(); conn1.connect();
// Create a connection to the jabber.org server on a specific port. // Create a connection to the jabber.org server on a specific port.