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. */