You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Richard Frovarp (JIRA)" <ji...@apache.org> on 2011/04/05 18:09:10 UTC
[jira] [Commented] (DROIDS-139) Error in SimpleTaskQueueWithHistory
[ https://issues.apache.org/jira/browse/DROIDS-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016056#comment-13016056 ]
Richard Frovarp commented on DROIDS-139:
----------------------------------------
Thanks for the report and patches. The one issue I see is the fix requires that offer() will call add(). If there is an implementation of LinkedList where offer() does not call add(), the history part will no longer work. I don't know if there is a better method or not.
> Error in SimpleTaskQueueWithHistory
> -----------------------------------
>
> Key: DROIDS-139
> URL: https://issues.apache.org/jira/browse/DROIDS-139
> Project: Droids
> Issue Type: Bug
> Components: core
> Affects Versions: 0.0.1
> Reporter: Giulio Cesare Solaroli
> Priority: Critical
> Attachments: patch.diff, testCase.diff
>
>
> The SimpleTaskQueueWithHistory class will not accept any new value added with either the 'offer' nor 'add' method, due to a cross check that always fails.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira