User: kimptoc
Date: 01/09/01 12:50:33
Modified: src/main/org/jboss/web ThreadPool.java
Log:
remove deprecated logging import, where possible, otherwise comment as needing
replacement with log4j.... must find out how it is use.... would be good if the
deprecation message pointed to an example to use...
Revision Changes Path
1.8 +9 -10 jboss/src/main/org/jboss/web/ThreadPool.java
Index: ThreadPool.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/web/ThreadPool.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ThreadPool.java 2001/08/03 17:15:58 1.7
+++ ThreadPool.java 2001/09/01 19:50:33 1.8
@@ -4,22 +4,21 @@
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
-
+
package org.jboss.web;
import java.util.Stack;
-import org.jboss.logging.Logger;
/**
* A simple thread pool.
- *
+ *
* <a href="mailto:[EMAIL PROTECTED]">Rickard �berg</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class ThreadPool
{
// Constants -----------------------------------------------------
-
+
// Attributes ----------------------------------------------------
/**
@@ -42,7 +41,7 @@
public ThreadPool()
{
}
-
+
// Public --------------------------------------------------------
/**
@@ -79,7 +78,7 @@
if (pool.size() < maxSize)
pool.push(w);
else
- w.die();
+ w.die();
}
// Inner classes -------------------------------------------------
@@ -145,7 +144,7 @@
// Clear work
work = null;
}
-
+
// Return to pool of cached idle threads
returnWorker(this);
@@ -157,8 +156,8 @@
} catch (InterruptedException e) {
// Ignore
}
- }
- }
+ }
+ }
}
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development