Make FailedChannelFuture and SucceededChannelFuture final

This commit is contained in:
Trustin Lee 2012-12-22 15:10:38 +09:00
parent ff3dcffd49
commit 9098d069b0
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ import java.util.concurrent.TimeoutException;
* recommended to use {@link Channel#newFailedFuture(Throwable)}
* instead of calling the constructor of this future.
*/
class FailedChannelFuture extends CompleteChannelFuture {
final class FailedChannelFuture extends CompleteChannelFuture {
private final Throwable cause;

View File

@ -24,7 +24,7 @@ import java.util.concurrent.TimeoutException;
* recommended to use {@link Channel#newSucceededFuture()} instead of
* calling the constructor of this future.
*/
class SucceededChannelFuture extends CompleteChannelFuture {
final class SucceededChannelFuture extends CompleteChannelFuture {
/**
* Creates a new instance.