From 7016b83629ac8ad734b896e4ee34c44cd4dc3788 Mon Sep 17 00:00:00 2001 From: norman Date: Fri, 4 May 2012 10:28:57 +0200 Subject: [PATCH] Add @Override annotations --- .../java/io/netty/handler/stream/ChunkedWriteHandler.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java b/handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java index c4f6c1417a..04a6e8b65d 100644 --- a/handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java +++ b/handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java @@ -297,16 +297,19 @@ public class ChunkedWriteHandler implements ChannelUpstreamHandler, ChannelDowns } + @Override public void beforeAdd(ChannelHandlerContext ctx) throws Exception { // nothing to do } + @Override public void afterAdd(ChannelHandlerContext ctx) throws Exception { // nothing to do } + @Override public void beforeRemove(ChannelHandlerContext ctx) throws Exception { // try to flush again a last time. // @@ -315,6 +318,7 @@ public class ChunkedWriteHandler implements ChannelUpstreamHandler, ChannelDowns } // This method should not need any synchronization as the ChunkedWriteHandler will not receive any new events + @Override public void afterRemove(ChannelHandlerContext ctx) throws Exception { // Fail all MessageEvent's that are left. This is needed because otherwise we would never notify the // ChannelFuture and the registered FutureListener. See #304