1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-17 09:04:53 +02:00

Fix example for Establishing a Connection

This commit is contained in:
Bastien Rouiller 2018-10-02 11:13:17 +02:00
parent 8702e57f96
commit 864cc0050c

View file

@ -47,7 +47,7 @@ server. Below are code examples for making a connection:
```
// Create a connection and login to the example.org XMPP service.
AbstractXMPPConnection connection = new XMPPTCPConnection("username", "password", "example.org");
AbstractXMPPConnection conn1 = new XMPPTCPConnection("username", "password", "example.org");
conn1.connect().login();
```