Remove empty method which I forgot to remove before
This commit is contained in:
parent
3856f99c03
commit
d760b4cffe
@ -229,17 +229,6 @@ public class DelimiterBasedFrameDecoder extends FrameDecoder {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the behavior when a frame longer than maxFrameLength is encountered.
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public DelimiterBasedFrameDecoder setFailImmediatelyOnTooLongFrame(
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void fail(ChannelHandlerContext ctx, long frameLength) {
|
private void fail(ChannelHandlerContext ctx, long frameLength) {
|
||||||
if (frameLength > 0) {
|
if (frameLength > 0) {
|
||||||
Channels.fireExceptionCaught(
|
Channels.fireExceptionCaught(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user