From 2df8bca8da42fe50a9994f262c004576ba9cff82 Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Tue, 22 Jan 2019 15:51:31 +0800 Subject: [PATCH] fix typo (#8741) Motivation: Correct typo Modification: Correct typo Result: JavaDoc and method name are more readable --- .../io/netty/util/concurrent/SingleThreadEventExecutor.java | 2 +- .../io/netty/util/concurrent/SingleThreadEventExecutorTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java b/common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java index 003a12858f..24e8f17c95 100644 --- a/common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java +++ b/common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java @@ -794,7 +794,7 @@ public abstract class SingleThreadEventExecutor extends AbstractScheduledEventEx /** * Returns the {@link ThreadProperties} of the {@link Thread} that powers the {@link SingleThreadEventExecutor}. - * If the {@link SingleThreadEventExecutor} is not started yet, this operation will start it and block until the + * If the {@link SingleThreadEventExecutor} is not started yet, this operation will start it and block until * it is fully started. */ public final ThreadProperties threadProperties() { diff --git a/common/src/test/java/io/netty/util/concurrent/SingleThreadEventExecutorTest.java b/common/src/test/java/io/netty/util/concurrent/SingleThreadEventExecutorTest.java index 55981b2406..efb0eb015e 100644 --- a/common/src/test/java/io/netty/util/concurrent/SingleThreadEventExecutorTest.java +++ b/common/src/test/java/io/netty/util/concurrent/SingleThreadEventExecutorTest.java @@ -31,7 +31,7 @@ import java.util.concurrent.atomic.AtomicReference; public class SingleThreadEventExecutorTest { @Test - public void testWrappedExecutureIsShutdown() { + public void testWrappedExecutorIsShutdown() { ExecutorService executorService = Executors.newSingleThreadExecutor(); SingleThreadEventExecutor executor = new SingleThreadEventExecutor(null, executorService, false) {