mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 18:48:00 +01:00
Merge pull request #271 from beedle-/master
Fix example for Establishing a Connection
This commit is contained in:
commit
e4aacf3e77
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue