Fix an inspector warning in JsonObjectDecoder
This commit is contained in:
parent
74d0c693fb
commit
9c4970363e
@ -170,6 +170,7 @@ public class JsonObjectDecoder extends ByteToMessageDecoder {
|
||||
/**
|
||||
* Override this method if you want to filter the json objects/arrays that get passed through the pipeline.
|
||||
*/
|
||||
@SuppressWarnings("UnusedParameters")
|
||||
protected ByteBuf extractObject(ChannelHandlerContext ctx, ByteBuf buffer, int index, int length) {
|
||||
return buffer.slice(index, length).retain();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user