Motivation:

Correct typo

Modification:

Correct typo

Result:

JavaDoc and method name are more readable
This commit is contained in:
kezhenxu94 2019-01-22 15:51:31 +08:00 committed by Norman Maurer
parent bc5924f550
commit 2df8bca8da
2 changed files with 2 additions and 2 deletions

View File

@ -794,7 +794,7 @@ public abstract class SingleThreadEventExecutor extends AbstractScheduledEventEx
/** /**
* Returns the {@link ThreadProperties} of the {@link Thread} that powers the {@link SingleThreadEventExecutor}. * 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. * it is fully started.
*/ */
public final ThreadProperties threadProperties() { public final ThreadProperties threadProperties() {

View File

@ -31,7 +31,7 @@ import java.util.concurrent.atomic.AtomicReference;
public class SingleThreadEventExecutorTest { public class SingleThreadEventExecutorTest {
@Test @Test
public void testWrappedExecutureIsShutdown() { public void testWrappedExecutorIsShutdown() {
ExecutorService executorService = Executors.newSingleThreadExecutor(); ExecutorService executorService = Executors.newSingleThreadExecutor();
SingleThreadEventExecutor executor = new SingleThreadEventExecutor(null, executorService, false) { SingleThreadEventExecutor executor = new SingleThreadEventExecutor(null, executorService, false) {