Fix an inspector warning in JsonObjectDecoder

This commit is contained in:
Trustin Lee 2014-07-03 20:01:23 +09:00
parent 74d0c693fb
commit 9c4970363e

View File

@ -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();
}