Add @Override annotations

This commit is contained in:
norman 2012-05-04 10:28:57 +02:00
parent d3c137923f
commit 7016b83629

View File

@ -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