From commits-return-33014-apmail-directory-commits-archive=directory.apache.org@directory.apache.org Tue Dec 6 17:27:46 2011 Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93A2C9EAD for ; Tue, 6 Dec 2011 17:27:46 +0000 (UTC) Received: (qmail 41602 invoked by uid 500); 6 Dec 2011 17:27:46 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 41557 invoked by uid 500); 6 Dec 2011 17:27:46 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 41550 invoked by uid 99); 6 Dec 2011 17:27:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 17:27:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 17:27:44 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 596EB238899C for ; Tue, 6 Dec 2011 17:27:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1211040 - /directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/txn/IndexCursorWrapper.java Date: Tue, 06 Dec 2011 17:27:22 -0000 To: commits@directory.apache.org From: saya@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111206172722.596EB238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: saya Date: Tue Dec 6 17:27:21 2011 New Revision: 1211040 URL: http://svn.apache.org/viewvc?rev=1211040&view=rev Log: reinited lastvalue is getIndex<0. Modified: directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/txn/IndexCursorWrapper.java Modified: directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/txn/IndexCursorWrapper.java URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/txn/IndexCursorWrapper.java?rev=1211040&r1=1211039&r2=1211040&view=diff ============================================================================== --- directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/txn/IndexCursorWrapper.java (original) +++ directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/txn/IndexCursorWrapper.java Tue Dec 6 17:27:21 2011 @@ -350,6 +350,10 @@ public class IndexCursorWrapper extends lastValue.setId( indexEntry.getId() ); lastValue.setValue( indexEntry.getValue() ); } + else + { + lastValue.setId( null ); + } int idx; @@ -461,6 +465,10 @@ public class IndexCursorWrapper extends lastValue.setId( indexEntry.getId() ); lastValue.setValue( indexEntry.getValue() ); } + else + { + lastValue.setId( null ); + } int idx;