Fix WriteTimeoutException java doc description (#9554)

Motivation:

The java doc doesn't match the real case: The exception only happen when a write operation
 cannot finish in a certain period of time instead of write idle happen.

Modification:

Correct java doc

Result:
java doc matched the real case
This commit is contained in:
stroller 2019-09-09 19:58:07 +08:00 committed by Norman Maurer
parent 629eae2082
commit 454cc80141

View File

@ -18,8 +18,8 @@ package io.netty.handler.timeout;
import io.netty.util.internal.PlatformDependent;
/**
* A {@link TimeoutException} raised by {@link WriteTimeoutHandler} when no data
* was written within a certain period of time.
* A {@link TimeoutException} raised by {@link WriteTimeoutHandler} when a write operation
* cannot finish in a certain period of time.
*/
public final class WriteTimeoutException extends TimeoutException {