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

@@ -208,7 +208,6 @@ public class SubscribableRedisChannel extends AbstractMessageChannel
private class MessageListenerDelegate {
MessageListenerDelegate() {
super();
}
@SuppressWarnings({ "unused" })

View File

@@ -164,7 +164,6 @@ public class RedisInboundChannelAdapter extends MessageProducerSupport {
private class MessageListenerDelegate {
MessageListenerDelegate() {
super();
}
@SuppressWarnings("unused")

View File

@@ -359,7 +359,6 @@ public class RedisQueueInboundGateway extends MessagingGatewaySupport
private class ListenerTask implements SchedulingAwareRunnable {
ListenerTask() {
super();
}
@Override

View File

@@ -336,7 +336,6 @@ public class RedisQueueMessageDrivenEndpoint extends MessageProducerSupport
private class ListenerTask implements SchedulingAwareRunnable {
ListenerTask() {
super();
}
@Override

View File

@@ -143,7 +143,6 @@ public class RedisOutboundGateway extends AbstractReplyProducingMessageHandler {
private static class PayloadArgumentsStrategy implements ArgumentsStrategy {
PayloadArgumentsStrategy() {
super();
}
@Override

View File

@@ -29,7 +29,6 @@ package org.springframework.integration.redis.support;
public final class RedisHeaders {
private RedisHeaders() {
super();
}
public static final String PREFIX = "redis_";