Make FailedChannelFuture and SucceededChannelFuture final
This commit is contained in:
parent
ff3dcffd49
commit
9098d069b0
@ -24,7 +24,7 @@ import java.util.concurrent.TimeoutException;
|
|||||||
* recommended to use {@link Channel#newFailedFuture(Throwable)}
|
* recommended to use {@link Channel#newFailedFuture(Throwable)}
|
||||||
* instead of calling the constructor of this future.
|
* instead of calling the constructor of this future.
|
||||||
*/
|
*/
|
||||||
class FailedChannelFuture extends CompleteChannelFuture {
|
final class FailedChannelFuture extends CompleteChannelFuture {
|
||||||
|
|
||||||
private final Throwable cause;
|
private final Throwable cause;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ import java.util.concurrent.TimeoutException;
|
|||||||
* recommended to use {@link Channel#newSucceededFuture()} instead of
|
* recommended to use {@link Channel#newSucceededFuture()} instead of
|
||||||
* calling the constructor of this future.
|
* calling the constructor of this future.
|
||||||
*/
|
*/
|
||||||
class SucceededChannelFuture extends CompleteChannelFuture {
|
final class SucceededChannelFuture extends CompleteChannelFuture {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new instance.
|
* Creates a new instance.
|
||||||
|
Loading…
Reference in New Issue
Block a user