[ 
https://issues.apache.org/jira/browse/LABS-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto updated LABS-138:
-------------------------------

    Attachment: fix

Suggested fix.

> ArrayIndexOutOfBoundsException in the method Simple.next()
> ----------------------------------------------------------
>
>                 Key: LABS-138
>                 URL: https://issues.apache.org/jira/browse/LABS-138
>             Project: Labs
>          Issue Type: Bug
>          Components: Droids
>         Environment: All
>            Reporter: Javier Puerto
>         Attachments: fix
>
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> Refactored the method Simple.hasNext() and Simple.next() to call 
> getToDoTasks() only once for performance (this getter returns a clone array).
> The method next() had to be synchronized o maybe the bean Simple has to be 
> defined as "prototype" in the spring context.

-- 
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