cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: rev 57505 - cocoon/trunk/src/java/org/apache/cocoon/components/thread
Date Fri, 12 Nov 2004 07:47:46 GMT
Author: giacomo
Date: Thu Nov 11 23:47:45 2004
New Revision: 57505

Modified:
   cocoon/trunk/src/java/org/apache/cocoon/components/thread/DefaultThreadPool.java
Log:
removed import

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/thread/DefaultThreadPool.java
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/thread/DefaultThreadPool.java	(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/thread/DefaultThreadPool.java	Thu Nov
11 23:47:45 2004
@@ -58,9 +58,6 @@
     /** Should we wait for running jobs to terminate on shutdown ? */
     private boolean m_shutdownGraceful;
 
-    /** The priority of threads */
-    private int m_priority;
-
     /** The maximum queue size */
     private int m_queueSize;
 
@@ -140,7 +137,7 @@
      */
     public int getPriority(  )
     {
-        return m_priority;
+        return ((ThreadFactory)super.getThreadFactory()).getPriority();
     }
 
     /**
@@ -287,16 +284,6 @@
     void setName( String name )
     {
         m_name = name;
-    }
-
-    /**
-     * DOCUMENT ME!
-     *
-     * @param priority The priority to set.
-     */
-    void setPriority( final int priority )
-    {
-        m_priority = priority;
     }
 
     /**

Mime
View raw message