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:
committed by
Artem Bilan
parent
130e1bba31
commit
19b9944dd8
@@ -239,7 +239,8 @@ public abstract class AbstractStompSessionManager implements StompSessionManager
|
||||
|
||||
private void scheduleReconnect(Throwable e) {
|
||||
this.epoch.incrementAndGet();
|
||||
this.connecting = this.connected = false;
|
||||
this.connecting = false;
|
||||
this.connected = false;
|
||||
if (e != null) {
|
||||
this.logger.error("STOMP connect error for " + this, e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user