From eef72b022a5d81910f70be22d94ffb61f2312451 Mon Sep 17 00:00:00 2001 From: Per Lundberg Date: Wed, 24 Jul 2019 08:23:29 +0300 Subject: [PATCH] Future.java: Fix typos in Javadoc (#9391) Motivation: Docs should have no typos Modifications: Fix a few typos Result: More correct docs. --- common/src/main/java/io/netty/util/concurrent/Future.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/io/netty/util/concurrent/Future.java b/common/src/main/java/io/netty/util/concurrent/Future.java index 907c182596..ac3b2022f6 100644 --- a/common/src/main/java/io/netty/util/concurrent/Future.java +++ b/common/src/main/java/io/netty/util/concurrent/Future.java @@ -164,14 +164,14 @@ public interface Future extends java.util.concurrent.Future { * Return the result without blocking. If the future is not done yet this will return {@code null}. * * As it is possible that a {@code null} value is used to mark the future as successful you also need to check - * if the future is really done with {@link #isDone()} and not relay on the returned {@code null} value. + * if the future is really done with {@link #isDone()} and not rely on the returned {@code null} value. */ V getNow(); /** * {@inheritDoc} * - * If the cancellation was successful it will fail the future with an {@link CancellationException}. + * If the cancellation was successful it will fail the future with a {@link CancellationException}. */ @Override boolean cancel(boolean mayInterruptIfRunning);