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 2013/07/18 13:56:36 UTC

svn commit: r1504443 - /directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java

Author: elecharny
Date: Thu Jul 18 11:56:36 2013
New Revision: 1504443

URL: http://svn.apache.org/r1504443
Log:
Split a call to a method to ease the debugging

Modified:
    directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java

Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java?rev=1504443&r1=1504442&r2=1504443&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java Thu Jul 18 11:56:36 2013
@@ -694,7 +694,8 @@ public abstract class AbstractBTreeParti
                     continue;
                 }
 
-                objectClassIdx.add( ( String ) value.getNormValue(), id );
+                String valueStr = ( String ) value.getNormValue();
+                objectClassIdx.add( valueStr, id );
             }
 
             if ( objectClass.contains( SchemaConstants.ALIAS_OC ) )
@@ -790,6 +791,7 @@ public abstract class AbstractBTreeParti
         }
         catch ( Exception e )
         {
+            e.printStackTrace();
             throw new LdapException( e );
         }
     }