GH-3132: Remove usage of super();

Fixes https://github.com/spring-projects/spring-integration/issues/3132

It turns out that Checkstyle EmptyBlock doesn't complain about
empty default ctor.
Plus a new check for `super();` call treats it as a violation

* Remove `super();` from all the no-arg ctors
* Code style clean up in the affected classes according
IDEA suggestions

* Fix new Sonar smells
This commit is contained in:
Artem Bilan
2019-12-27 13:04:10 -05:00
committed by Gary Russell
parent 9c68ae4a7d
commit 5ac262f866
127 changed files with 386 additions and 490 deletions

View File

@@ -73,11 +73,11 @@ public abstract class IntegrationWebSocketContainer implements DisposableBean {
private final List<String> supportedProtocols = new ArrayList<>();
private volatile WebSocketListener messageListener;
private WebSocketListener messageListener;
private volatile int sendTimeLimit = DEFAULT_SEND_TIME_LIMIT;
private int sendTimeLimit = DEFAULT_SEND_TIME_LIMIT;
private volatile int sendBufferSizeLimit = DEFAULT_SEND_BUFFER_SIZE;
private int sendBufferSizeLimit = DEFAULT_SEND_BUFFER_SIZE;
public void setSendTimeLimit(int sendTimeLimit) {
this.sendTimeLimit = sendTimeLimit;
@@ -159,7 +159,6 @@ public abstract class IntegrationWebSocketContainer implements DisposableBean {
private class IntegrationWebSocketHandler implements WebSocketHandler, SubProtocolCapable {
IntegrationWebSocketHandler() {
super();
}
@Override

View File

@@ -156,7 +156,6 @@ public class WebSocketIntegrationConfigurationInitializer implements Integration
private static class IntegrationServletWebSocketHandlerRegistry extends ServletWebSocketHandlerRegistry {
IntegrationServletWebSocketHandlerRegistry() {
super();
}
@Override