You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/09/03 16:20:58 UTC

[jira] Assigned: (JCR-1107) ObjectIterator may return null, which is not readily expected from an Iterator

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

Felix Meschberger reassigned JCR-1107:
--------------------------------------

    Assignee: Felix Meschberger

> ObjectIterator may return null, which is not readily expected from an Iterator
> ------------------------------------------------------------------------------
>
>                 Key: JCR-1107
>                 URL: https://issues.apache.org/jira/browse/JCR-1107
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jcr-mapping
>    Affects Versions: 1.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 1.4
>
>         Attachments: JCR-1107.diff
>
>
> The ObjectIterator class implements an Iterator of objects mapped from an underlying NodeIterator. This ObjectIterator may return null from next() if no mapping for a node in the iterator exists. Rather than returning null, the iterator should probably just ignore the unmappable node and return an object from the next node in the underlying iterator which is mappable.

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