Made inner classes final

This commit is contained in:
Trustin Lee 2009-02-11 05:27:36 +00:00
parent 8431db0407
commit 10a07b054e
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ public class ReadTimeoutHandler extends SimpleChannelUpstreamHandler implements
task = null;
}
private class ReadTimeoutTask implements TimerTask {
private final class ReadTimeoutTask implements TimerTask {
private final ChannelHandlerContext ctx;

View File

@ -96,7 +96,7 @@ public class WriteTimeoutHandler extends SimpleChannelDownstreamHandler implemen
super.writeRequested(ctx, e);
}
private class WriteTimeoutTask implements TimerTask {
private final class WriteTimeoutTask implements TimerTask {
private final ChannelHandlerContext ctx;
private final ChannelFuture future;