You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2006/04/20 19:38:46 UTC

svn commit: r395655 - /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java

Author: akarasulu
Date: Thu Apr 20 10:38:44 2006
New Revision: 395655

URL: http://svn.apache.org/viewcvs?rev=395655&view=rev
Log:
suspicious code produced after refactoring ... will get to the bottom of this later

Modified:
    directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java

Modified: directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
URL: http://svn.apache.org/viewcvs/directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java?rev=395655&r1=395654&r2=395655&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java (original)
+++ directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java Thu Apr 20 10:38:44 2006
@@ -1065,6 +1065,11 @@
 
         try
         {
+            /*
+             * Something is seriously wrong here.  Why would we have both conditions load
+             * the value the same way from the btree.  Some code changes must have been made
+             * and something lost in this process.  Will need to figure out what happened.
+             */
             if ( !allowsDuplicates )
             {
                 val = bt.find( key );