From 278fc05e28ce39327338322f717f5c8754204f51 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 20 Mar 2014 08:32:40 +0100 Subject: [PATCH] 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 --- transport/src/main/java/io/netty/channel/ChannelFuture.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transport/src/main/java/io/netty/channel/ChannelFuture.java b/transport/src/main/java/io/netty/channel/ChannelFuture.java index 3834c7026d..f2eab7ac43 100644 --- a/transport/src/main/java/io/netty/channel/ChannelFuture.java +++ b/transport/src/main/java/io/netty/channel/ChannelFuture.java @@ -50,8 +50,8 @@ import java.util.concurrent.TimeUnit; * +--------------------------+ | | Completed with failure | * | isDone() = false | | +---------------------------+ * | isSuccess() = false |----+----> isDone() = true | - * | isCancelled() = false | | | cause() = non-null | - * | cause() = null | | +===========================+ + * | isCancelled() = false | | | cause() = non-null | + * | cause() = null | | +===========================+ * +--------------------------+ | | Completed by cancellation | * | +---------------------------+ * +----> isDone() = true |