1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Fix XMPPConnection javadoc

The XMPPConnection interface does not define methods to manipulate the
connection state (e.g. connect(), disconnect()). The example should use
the connection type as declared type.
This commit is contained in:
Florian Schmaus 2015-02-11 17:36:46 +01:00
parent b7ac16c1fb
commit 2853ec39b4

View file

@ -36,7 +36,7 @@ import org.jivesoftware.smack.packet.PlainStreamElement;
*
* <pre>
* // Create a connection to the igniterealtime.org XMPP server.
* XMPPConnection con = new XMPPTCPConnection("igniterealtime.org");
* XMPPTCPConnection con = new XMPPTCPConnection("igniterealtime.org");
* // Connect to the server
* con.connect();
* // Most servers require you to login before performing other tasks.