[dna-issues] [JBoss JIRA] Resolved: (DNA-164) SimpleProblems.iterator() throws NPE if no problems exist

Johnny Verhaeg (JIRA) jira-events at lists.jboss.org
Wed Jun 18 15:02:46 EDT 2008


     [ http://jira.jboss.com/jira/browse/DNA-164?page=all ]

Johnny Verhaeg resolved DNA-164.
--------------------------------

    Resolution: Done

Changed iterator method to return iterator for Collections.emptyList if no problems exist.

> SimpleProblems.iterator() throws NPE if no problems exist
> ---------------------------------------------------------
>
>                 Key: DNA-164
>                 URL: http://jira.jboss.com/jira/browse/DNA-164
>             Project: DNA
>          Issue Type: Bug
>          Components: Common
>    Affects Versions: 0.1
>            Reporter: Johnny Verhaeg
>         Assigned To: Johnny Verhaeg
>            Priority: Minor
>             Fix For: 0.2
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> It should instead always return a non-null iterator whose hasNext() returns false.

-- 
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 dna-issues mailing list