Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
linxin committed Nov 26, 2024
1 parent c24248c commit 6e688e9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ public void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) thro
}
if (contentLen == 0) {
content = new byte[0];
}
if (contentLen > 0) {
} else if (contentLen > 0) {
content = new byte[contentLen];
in.readBytes(content);
}
Expand Down

0 comments on commit 6e688e9

Please sign in to comment.