fix typo (#8741)
Motivation: Correct typo Modification: Correct typo Result: JavaDoc and method name are more readable
This commit is contained in:
parent
bc5924f550
commit
2df8bca8da
@ -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() {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user