ARTEMIS-611 Remove redundant null check
This commit is contained in:
parent
40c84fa003
commit
72bf5b7a0a
|
@ -286,11 +286,9 @@ public final class StompConnection implements RemotingConnection {
|
|||
return;
|
||||
}
|
||||
|
||||
if (me != null) {
|
||||
StompFrame frame = frameHandler.createStompFrame(Stomp.Responses.ERROR);
|
||||
frame.addHeader(Stomp.Headers.Error.MESSAGE, me.getMessage());
|
||||
sendFrame(frame);
|
||||
}
|
||||
StompFrame frame = frameHandler.createStompFrame(Stomp.Responses.ERROR);
|
||||
frame.addHeader(Stomp.Headers.Error.MESSAGE, me.getMessage());
|
||||
sendFrame(frame);
|
||||
|
||||
destroyed = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue