directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1378939 - /directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java
Date Thu, 30 Aug 2012 13:42:54 GMT
Author: elecharny
Date: Thu Aug 30 13:42:54 2012
New Revision: 1378939

URL: http://svn.apache.org/viewvc?rev=1378939&view=rev
Log:
Minor refactoring for debug purpose

Modified:
    directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java

Modified: directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java?rev=1378939&r1=1378938&r2=1378939&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java
(original)
+++ directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java
Thu Aug 30 13:42:54 2012
@@ -140,7 +140,8 @@ public class EntryCursorAdaptor extends 
 
         if ( indexEntry.getEntry() == null )
         {
-            indexEntry.setEntry( db.lookup( indexEntry.getId() ) );
+            Entry entry = db.lookup( indexEntry.getId() );
+            indexEntry.setEntry( entry );
         }
 
         return indexEntry.getEntry();



Mime
View raw message