From f5276a78c20cb0e622e27d9da5135794c680430f Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 23 Apr 2014 09:50:39 +0200 Subject: [PATCH] Fix javadoc of useCompression() smackx.jar no longer need to be in the classpath in order to use compression. --- .../java/org/jivesoftware/smack/XMPPTCPConnection.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tcp/src/main/java/org/jivesoftware/smack/XMPPTCPConnection.java b/tcp/src/main/java/org/jivesoftware/smack/XMPPTCPConnection.java index 11eaaae09..f5f10596d 100644 --- a/tcp/src/main/java/org/jivesoftware/smack/XMPPTCPConnection.java +++ b/tcp/src/main/java/org/jivesoftware/smack/XMPPTCPConnection.java @@ -771,13 +771,13 @@ public class XMPPTCPConnection extends XMPPConnection { * Starts using stream compression that will compress network traffic. Traffic can be * reduced up to 90%. Therefore, stream compression is ideal when using a slow speed network * connection. However, the server and the client will need to use more CPU time in order to - * un/compress network data so under high load the server performance might be affected.

- *

+ * un/compress network data so under high load the server performance might be affected. + *

+ *

* Stream compression has to have been previously offered by the server. Currently only the * zlib method is supported by the client. Stream compression negotiation has to be done * before authentication took place.

- *

- * Note: to use stream compression the smackx.jar file has to be present in the classpath. + *

* * @return true if stream compression negotiation was successful. */