Skip to content

Commit

Permalink
Fixed NETTY-336 Fine-grained control over thread renaming
Browse files Browse the repository at this point in the history
Fixed exception message
  • Loading branch information
Trustin Lee committed Mar 29, 2011
1 parent 89de2e4 commit 10e2fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jboss/netty/util/NamedThreadFactory.java
Expand Up @@ -65,7 +65,7 @@ public NamedThreadFactory(String prefix, boolean daemon, int priority) {
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;
Expand Down

0 comments on commit 10e2fc4

Please sign in to comment.