svn commit: r476164 - /jakarta/jcs/trunk/src/java/org/apache/jcs/utils/threadpool/ThreadPoolManager.java

[email protected]
Newsgroups gmane.comp.jakarta.turbine.jcs.devel
Message-ID <[email protected]>
Author: asmuts
Date: Fri Nov 17 07:03:10 2006
New Revision: 476164

URL: http://svn.apache.org/viewvc?view=rev&rev=476164
Log:
Fixing stupid error in the thread pool manager.  If you specify the useBoundary value, it would alwasy be false.  If you didn't then it would be true!

JCS-14

Modified:
    jakarta/jcs/trunk/src/java/org/apache/jcs/utils/threadpool/ThreadPoolManager.java

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/utils/threadpool/ThreadPoolManager.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/utils/threadpool/ThreadPoolManager.java?view=diff&rev=476164&r1=476163&r2=476164
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/utils/threadpool/ThreadPoolManager.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/utils/threadpool/ThreadPoolManager.java Fri Nov 17 07:03:10 2006
@@ -355,7 +355,7 @@
         {
             try
             {
-                config.setUseBoundary( Boolean.getBoolean( (String) props.get( root + ".useBoundary" ) ) );
+                config.setUseBoundary( Boolean.valueOf( (String) props.get( root + ".useBoundary" ) ) );
             }
             catch ( NumberFormatException nfe )
             {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.