Sonar fixes

* exposing internal objects
* boolean complexity
* names, methods with _
* missing `default` in switch
* lost stack trace
* unnecessary null check before instanceof
* unused parameter

* Fix method name
This commit is contained in:
Gary Russell
2019-05-01 14:13:43 -04:00
committed by Artem Bilan
parent 9780a6c893
commit ebbcb9df48
35 changed files with 128 additions and 102 deletions

View File

@@ -40,7 +40,7 @@ public class RedisQueueInboundGatewayParser extends AbstractInboundGatewayParser
@Override
protected boolean isEligibleAttribute(String attributeName) {
return !attributeName.equals("queue")
return !attributeName.equals("queue") // NOSONAR boolean complexity
&& !attributeName.equals("connection-factory")
&& !attributeName.equals("serializer")
&& !attributeName.equals("task-executor")