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:
秦世成 2019-05-20 18:07:02 +08:00 committed by Norman Maurer
parent 9c6365ee95
commit 18f27db194

View File

@ -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()) {