Remove no-ops in TCPConnection

those are the defaults anyway.
This commit is contained in:
Florian Schmaus 2014-04-03 13:07:09 +02:00
parent bd96816102
commit 3c2f794522
1 changed files with 0 additions and 4 deletions

View File

@ -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);
}
/**