jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1107) ObjectIterator may return null, which is not readily expected from an Iterator
Date Mon, 03 Sep 2007 13:48:57 GMT
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
             Fix For: 1.4


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.


Mime
View raw message