You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2012/09/07 09:39:51 UTC

svn commit: r1381917 - /directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java

Author: elecharny
Date: Fri Sep  7 07:39:49 2012
New Revision: 1381917

URL: http://svn.apache.org/viewvc?rev=1381917&view=rev
Log:
Fixed a NPE while logging

Modified:
    directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java

Modified: directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java?rev=1381917&r1=1381916&r2=1381917&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java (original)
+++ directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java Fri Sep  7 07:39:49 2012
@@ -65,9 +65,9 @@ public class ChildrenCursor extends Abst
     public ChildrenCursor( Store db, String parentId, Cursor<IndexEntry<ParentIdAndRdn, String>> cursor )
         throws Exception
     {
-        LOG_CURSOR.debug( "Creating ChildrenCursor {}", this );
         this.parentId = parentId;
         this.cursor = cursor;
+        LOG_CURSOR.debug( "Creating ChildrenCursor {}", this );
     }