Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
Issue: SPR-15540
This commit is contained in:
@@ -417,7 +417,7 @@ public class StompSubProtocolHandler implements SubProtocolHandler, ApplicationE
|
||||
else if (StompCommand.CONNECTED.equals(command)) {
|
||||
this.stats.incrementConnectedCount();
|
||||
accessor = afterStompSessionConnected(message, accessor, session);
|
||||
if (this.eventPublisher != null && StompCommand.CONNECTED.equals(command)) {
|
||||
if (this.eventPublisher != null) {
|
||||
try {
|
||||
SimpAttributes simpAttributes = new SimpAttributes(session.getId(), session.getAttributes());
|
||||
SimpAttributesContextHolder.setAttributes(simpAttributes);
|
||||
|
||||
Reference in New Issue
Block a user