Format code to align unaligned code. (#9062)
Motivation: Format code to align unaligned code. Modification: Reformat the code Result: Cleaner code
This commit is contained in:
parent
9c6365ee95
commit
18f27db194
@ -150,12 +150,12 @@ public class WebSocket08FrameDecoder extends ByteToMessageDecoder
|
||||
|
||||
@Override
|
||||
protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception {
|
||||
|
||||
// Discard all data received if closing handshake was received before.
|
||||
if (receivedClosingHandshake) {
|
||||
in.skipBytes(actualReadableBytes());
|
||||
return;
|
||||
}
|
||||
|
||||
switch (state) {
|
||||
case READING_FIRST:
|
||||
if (!in.isReadable()) {
|
||||
|
Loading…
Reference in New Issue
Block a user