mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 08:12:05 +01:00
Remove no-ops in TCPConnection
those are the defaults anyway.
This commit is contained in:
parent
bd96816102
commit
3c2f794522
1 changed files with 0 additions and 4 deletions
|
@ -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