From 2853ec39b4f38269d97253f4435cda02743e8bf8 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 11 Feb 2015 17:36:46 +0100 Subject: [PATCH] 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. --- .../src/main/java/org/jivesoftware/smack/XMPPConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java b/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java index 14d70fdec..bea75de21 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java @@ -36,7 +36,7 @@ import org.jivesoftware.smack.packet.PlainStreamElement; * *
  * // 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.