Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 51091 invoked from network); 3 Sep 2007 13:49:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2007 13:49:21 -0000 Received: (qmail 42269 invoked by uid 500); 3 Sep 2007 13:49:15 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 42246 invoked by uid 500); 3 Sep 2007 13:49:15 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 42237 invoked by uid 99); 3 Sep 2007 13:49:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 06:49:15 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 13:50:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DDBBE714208 for ; Mon, 3 Sep 2007 06:48:57 -0700 (PDT) Message-ID: <5696507.1188827337874.JavaMail.jira@brutus> Date: Mon, 3 Sep 2007 06:48:57 -0700 (PDT) From: "Felix Meschberger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1107) ObjectIterator may return null, which is not readily expected from an Iterator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.