From 3c2f794522ac057c3079b9a3a922314f795540fe Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 3 Apr 2014 13:07:09 +0200 Subject: [PATCH] Remove no-ops in TCPConnection those are the defaults anyway. --- tcp/src/main/java/org/jivesoftware/smack/TCPConnection.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tcp/src/main/java/org/jivesoftware/smack/TCPConnection.java b/tcp/src/main/java/org/jivesoftware/smack/TCPConnection.java index bb261a34e..633a5171c 100644 --- a/tcp/src/main/java/org/jivesoftware/smack/TCPConnection.java +++ b/tcp/src/main/java/org/jivesoftware/smack/TCPConnection.java @@ -129,8 +129,6 @@ public class TCPConnection extends XMPPConnection { public TCPConnection(String serviceName, CallbackHandler callbackHandler) { // Create the configuration for this new connection super(new ConnectionConfiguration(serviceName)); - config.setCompressionEnabled(false); - config.setDebuggerEnabled(DEBUG_ENABLED); config.setCallbackHandler(callbackHandler); } @@ -145,8 +143,6 @@ public class TCPConnection extends XMPPConnection { public TCPConnection(String serviceName) { // Create the configuration for this new connection super(new ConnectionConfiguration(serviceName)); - config.setCompressionEnabled(false); - config.setDebuggerEnabled(DEBUG_ENABLED); } /**