Added missing @Overrides annotations
This commit is contained in:
parent
4d6581fe3d
commit
420431cabb
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user