Fixing javadoc ascii table for ChannelFuture
Motivation: The current ascii table [1] showing the various states that a ChannelFuture can be in, but the table is slightly "off" for the 'cause'. Modifications: - Updated the ascii table to display nicely. Result: Easier to read the states of a ChannelFuture. [1] http://netty.io/5.0/api/io/netty/channel/ChannelFuture.html
This commit is contained in:
parent
ab72dd7303
commit
278fc05e28
@ -50,8 +50,8 @@ import java.util.concurrent.TimeUnit;
|
|||||||
* +--------------------------+ | | Completed with failure |
|
* +--------------------------+ | | Completed with failure |
|
||||||
* | isDone() = <b>false</b> | | +---------------------------+
|
* | isDone() = <b>false</b> | | +---------------------------+
|
||||||
* | isSuccess() = false |----+----> isDone() = <b>true</b> |
|
* | isSuccess() = false |----+----> isDone() = <b>true</b> |
|
||||||
* | isCancelled() = false | | | cause() = <b>non-null</b> |
|
* | isCancelled() = false | | | cause() = <b>non-null</b> |
|
||||||
* | cause() = null | | +===========================+
|
* | cause() = null | | +===========================+
|
||||||
* +--------------------------+ | | Completed by cancellation |
|
* +--------------------------+ | | Completed by cancellation |
|
||||||
* | +---------------------------+
|
* | +---------------------------+
|
||||||
* +----> isDone() = <b>true</b> |
|
* +----> isDone() = <b>true</b> |
|
||||||
|
Loading…
Reference in New Issue
Block a user