mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-09-29 11:19:34 +02:00
Remove no-ops in TCPConnection
those are the defaults anyway.
This commit is contained in:
parent
bd96816102
commit
3c2f794522
|
@ -129,8 +129,6 @@ public class TCPConnection extends XMPPConnection {
|
||||||
public TCPConnection(String serviceName, CallbackHandler callbackHandler) {
|
public TCPConnection(String serviceName, CallbackHandler callbackHandler) {
|
||||||
// Create the configuration for this new connection
|
// Create the configuration for this new connection
|
||||||
super(new ConnectionConfiguration(serviceName));
|
super(new ConnectionConfiguration(serviceName));
|
||||||
config.setCompressionEnabled(false);
|
|
||||||
config.setDebuggerEnabled(DEBUG_ENABLED);
|
|
||||||
config.setCallbackHandler(callbackHandler);
|
config.setCallbackHandler(callbackHandler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,8 +143,6 @@ public class TCPConnection extends XMPPConnection {
|
||||||
public TCPConnection(String serviceName) {
|
public TCPConnection(String serviceName) {
|
||||||
// Create the configuration for this new connection
|
// Create the configuration for this new connection
|
||||||
super(new ConnectionConfiguration(serviceName));
|
super(new ConnectionConfiguration(serviceName));
|
||||||
config.setCompressionEnabled(false);
|
|
||||||
config.setDebuggerEnabled(DEBUG_ENABLED);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue