Added missing @Overrides annotations

This commit is contained in:
Trustin Lee 2011-02-07 20:03:40 +09:00
parent 4d6581fe3d
commit 420431cabb
2 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ final class DefaultLocalChannel extends AbstractChannel implements LocalChannel
// TODO Move the state variable to AbstractChannel so that we don't need
// to add many listeners.
getCloseFuture().addListener(new ChannelFutureListener() {
@Override
public void operationComplete(ChannelFuture future) throws Exception {
state.set(ST_CLOSED);
}

View File

@ -87,6 +87,7 @@ class NioSocketChannel extends AbstractChannel
// TODO Move the state variable to AbstractChannel so that we don't need
// to add many listeners.
getCloseFuture().addListener(new ChannelFutureListener() {
@Override
public void operationComplete(ChannelFuture future) throws Exception {
state = ST_CLOSED;
}