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.