directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1381859 - /directory/apacheds/branches/apacheds-mvbt/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java
Date Fri, 07 Sep 2012 04:01:11 GMT
Author: elecharny
Date: Fri Sep  7 04:01:10 2012
New Revision: 1381859

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

Modified:
    directory/apacheds/branches/apacheds-mvbt/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java

Modified: directory/apacheds/branches/apacheds-mvbt/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java?rev=1381859&r1=1381858&r2=1381859&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java
(original)
+++ directory/apacheds/branches/apacheds-mvbt/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java
Fri Sep  7 04:01:10 2012
@@ -332,14 +332,13 @@ public class ArrayTreeCursor<E> extends 
         if ( available() )
         {
             sb.append( "available)" );
+            sb.append( "#<" ).append( current ).append( ":" ).append( array.get( current
) ).append( ">" );
         }
         else
         {
             sb.append( "absent)" );
         }
 
-        sb.append( "#<" ).append( current ).append( ":" ).append( array.get( current )
).append( ">" );
-
         return sb.toString();
     }
 



Mime
View raw message