Fixed NETTY-336 Fine-grained control over thread renaming
Fixed exception message
This commit is contained in:
parent
89de2e4b95
commit
10e2fc44e5
@ -65,7 +65,7 @@ public class NamedThreadFactory implements ThreadFactory {
|
||||
if (priority < Thread.MIN_PRIORITY || priority > Thread.MAX_PRIORITY) {
|
||||
throw new IllegalArgumentException(
|
||||
"priority: " + priority +
|
||||
" (expected: >= " + Thread.MIN_PRIORITY + " && <= " + Thread.MAX_PRIORITY);
|
||||
" (expected: >= " + Thread.MIN_PRIORITY + " && <= " + Thread.MAX_PRIORITY + ')');
|
||||
}
|
||||
|
||||
this.prefix = prefix;
|
||||
|
Loading…
Reference in New Issue
Block a user