[jboss-jira] [JBoss JIRA] Created: (JBCOMMON-34) BasicThreadPool.getNextTimeOut needs to check for empty queue

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Tue Sep 11 11:54:12 EDT 2007


BasicThreadPool.getNextTimeOut needs to check for empty queue
-------------------------------------------------------------

                 Key: JBCOMMON-34
                 URL: http://jira.jboss.com/jira/browse/JBCOMMON-34
             Project: JBoss Common
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: common-core
    Affects Versions: 2.2.1.GA
            Reporter: Anil Saldhana
         Assigned To: Anil Saldhana
             Fix For: 2.2.2.GA


protected TimeoutInfo getNextTimeout()
   {
      TimeoutInfo info = (TimeoutInfo) this.tasksWithTimeouts.remove();
      return info;
   }


This methods needs a change to check for empty queue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list