Skip to content

Commit a0bb7b4

Browse files
jchrysnormanmaurer
authored andcommitted
fix typos in requireNonNull function (#12961)
Motivation: fix typos to get correct error message Modification: fix typos Result: clean up
1 parent de8a7ef commit a0bb7b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/src/main/java/io/netty/util/internal/ThreadExecutorMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void run() {
8484
* when called from within the {@link Runnable} during execution.
8585
*/
8686
public static ThreadFactory apply(final ThreadFactory threadFactory, final EventExecutor eventExecutor) {
87-
ObjectUtil.checkNotNull(threadFactory, "command");
87+
ObjectUtil.checkNotNull(threadFactory, "threadFactory");
8888
ObjectUtil.checkNotNull(eventExecutor, "eventExecutor");
8989
return new ThreadFactory() {
9090
@Override

0 commit comments

Comments
 (0)