refactoring

pull/4125/head
Nikita Koksharov 3 years ago
parent 40d2e37c1e
commit 84c013d724

@ -35,7 +35,7 @@ public class PermitDecoder implements Decoder<String> {
}
if (buf.isReadable(14)
&& !buf.isReadable(16)
&& buf.getByte(buf.readerIndex()) == (byte)':') {
&& buf.getByte(buf.readerIndex()) == (byte) ':') {
return buf.toString(CharsetUtil.UTF_8);
}
return ByteBufUtil.hexDump(buf);

Loading…
Cancel
Save