1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-02 06:45:59 +01:00

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

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