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
1 changed files with 1 additions and 1 deletions

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.