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 a65f231bc4
commit a9159d28fb

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