diff --git a/src/main/java/org/jboss/netty/handler/codec/frame/DelimiterBasedFrameDecoder.java b/src/main/java/org/jboss/netty/handler/codec/frame/DelimiterBasedFrameDecoder.java index 3c81fb33fe..c7ea5d3a8c 100644 --- a/src/main/java/org/jboss/netty/handler/codec/frame/DelimiterBasedFrameDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/frame/DelimiterBasedFrameDecoder.java @@ -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) { if (frameLength > 0) { Channels.fireExceptionCaught(