1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 18:48:00 +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);
}
/**