Cleanup ChannelOption.AUTO_CLOSE javadocs

Motivation:
The javadocs for ChannelOption.AUTO_CLOSE say the default is false, but the default is currently true.

Modifications:
- Make javadocs consistent with code

Result:
Less confusing docs.
This commit is contained in:
Scott Mitchell 2015-11-24 15:21:29 -08:00
parent 450939842e
commit 47d35f89cb

View File

@ -55,8 +55,8 @@ public class ChannelOption<T> extends UniqueName {
/**
* @deprecated From version 5.0, {@link Channel} will not be closed on write failure.
*
* {@code true} if and only if the {@link Channel} is closed automatically and immediately on write failure.
* The default is {@code false}.
* If {@code true} then the {@link Channel} is closed automatically and immediately on write failure.
* The default value is {@code true}.
*/
@Deprecated
public static final ChannelOption<Boolean> AUTO_CLOSE = valueOf("AUTO_CLOSE");