tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r326153 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/threads/ThreadPool.java
Date Tue, 18 Oct 2005 17:03:29 GMT
Author: yoavs
Date: Tue Oct 18 10:03:28 2005
New Revision: 326153

URL: http://svn.apache.org/viewcvs?rev=326153&view=rev
Log:
Typo fix in error message, pointed out to me via private email by Entiaz Inan.

Modified:
    tomcat/connectors/trunk/util/java/org/apache/tomcat/util/threads/ThreadPool.java

Modified: tomcat/connectors/trunk/util/java/org/apache/tomcat/util/threads/ThreadPool.java
URL: http://svn.apache.org/viewcvs/tomcat/connectors/trunk/util/java/org/apache/tomcat/util/threads/ThreadPool.java?rev=326153&r1=326152&r2=326153&view=diff
==============================================================================
--- tomcat/connectors/trunk/util/java/org/apache/tomcat/util/threads/ThreadPool.java (original)
+++ tomcat/connectors/trunk/util/java/org/apache/tomcat/util/threads/ThreadPool.java Tue Oct
18 10:03:28 2005
@@ -1,5 +1,5 @@
 /*
- *  Copyright 1999-2004 The Apache Software Foundation
+ *  Copyright 1999-2005 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -172,7 +172,7 @@
       if (threadPriority < Thread.MIN_PRIORITY) {
         throw new IllegalArgumentException("new priority < MIN_PRIORITY");
       } else if (threadPriority > Thread.MAX_PRIORITY) {
-        throw new IllegalArgumentException("new priority > MIN_PRIORITY");
+        throw new IllegalArgumentException("new priority > MAX_PRIORITY");
       }
 
       // Set for future threads



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message