Concurrency error in the simple queue implementation
----------------------------------------------------

                 Key: LABS-137
                 URL: https://issues.apache.org/jira/browse/LABS-137
             Project: Labs
          Issue Type: Bug
          Components: Droids
         Environment: All
            Reporter: Javier Puerto
            Priority: Blocker


The method in Simple.merge(Task[]) had a mistake and sometimes could generate a 
NPE.
Change the class to be more clear. Eliminate all the synchronized methods and 
implements the "allTask" list as threadsafe with help of 
java.util.Collections.synchronizedMap(Map).



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to