directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r659884 - in /directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl: ApproximateEvaluator.java EqualityEvaluator.java
Date Sat, 24 May 2008 23:03:32 GMT
Author: akarasulu
Date: Sat May 24 16:03:30 2008
New Revision: 659884

URL: http://svn.apache.org/viewvc?rev=659884&view=rev
Log:
fixing major bug with equality and approximate node evaluation

Modified:
    directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/ApproximateEvaluator.java
    directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/EqualityEvaluator.java

Modified: directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/ApproximateEvaluator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/ApproximateEvaluator.java?rev=659884&r1=659883&r2=659884&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/ApproximateEvaluator.java
(original)
+++ directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/ApproximateEvaluator.java
Sat May 24 16:03:30 2008
@@ -150,7 +150,7 @@
     {
         if ( idx != null )
         {
-            return idx.forward( indexEntry.getValue(), indexEntry.getId() );
+            return idx.forward( node.getValue().get(), indexEntry.getId() );
         }
 
         ServerEntry entry = indexEntry.getObject();

Modified: directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/EqualityEvaluator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/EqualityEvaluator.java?rev=659884&r1=659883&r2=659884&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/EqualityEvaluator.java
(original)
+++ directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/EqualityEvaluator.java
Sat May 24 16:03:30 2008
@@ -103,7 +103,7 @@
     {
         if ( idx != null )
         {
-            return idx.forward( ( T ) indexEntry.getValue(), indexEntry.getId() );
+            return idx.forward( node.getValue().get(), indexEntry.getId() );
         }
 
         ServerEntry entry = indexEntry.getObject();



Mime
View raw message