directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
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 GMT
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;
         



Mime
View raw message