directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r658813 - in /directory/apacheds/branches/bigbang/xdbm-search/src: main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java
Date Wed, 21 May 2008 19:01:33 GMT
Author: akarasulu
Date: Wed May 21 12:01:32 2008
New Revision: 658813

URL: http://svn.apache.org/viewvc?rev=658813&view=rev
Log:
fixing more generics issues

Modified:
    directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java
    directory/apacheds/branches/bigbang/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java

Modified: directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java?rev=658813&r1=658812&r2=658813&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java
(original)
+++ directory/apacheds/branches/bigbang/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java
Wed May 21 12:01:32 2008
@@ -130,7 +130,7 @@
 
         // Annotate the node with the optimizer and return search enumeration.
         optimizer.annotate( root );
-        return cursorBuilder.build( root );
+        return ( IndexCursor<Long, ServerEntry> ) cursorBuilder.build( root );
     }
 
 

Modified: directory/apacheds/branches/bigbang/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java?rev=658813&r1=658812&r2=658813&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java
(original)
+++ directory/apacheds/branches/bigbang/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java
Wed May 21 12:01:32 2008
@@ -40,7 +40,6 @@
 import org.apache.directory.shared.ldap.schema.syntax.SyntaxCheckerDescription;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.commons.io.FileUtils;
-import org.apache.commons.collections.CollectionUtils;
 import org.junit.Before;
 import org.junit.After;
 import org.junit.Test;import static org.junit.Assert.assertTrue;import static org.junit.Assert.assertFalse;
@@ -51,10 +50,6 @@
 import java.io.File;
 import java.util.*;
 
-import jdbm.helper.StringComparator;
-
-import javax.naming.NamingException;
-
 
 /**
  * Tests the LessEqEvaluator and LessEqCursor classes for correct operation.



Mime
View raw message