Sonar fixes

* use equals
* inner assignment
* local before return
* unnecessary locals
* catch and throw
* uninstantiable with no statics
* implement `Serializable` in `Comparator` to enable `TreeMap` serialization
* exceptions as flow control
This commit is contained in:
Gary Russell
2019-04-30 15:32:41 -04:00
committed by Artem Bilan
parent 130e1bba31
commit 19b9944dd8
31 changed files with 98 additions and 87 deletions

View File

@@ -319,7 +319,8 @@ public class RedisQueueInboundGateway extends MessagingGatewaySupport implements
@Override
protected void doStop() {
super.doStop();
this.active = this.listening = false;
this.active = false;
this.listening = false;
}
public boolean isListening() {