directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r808791 - in /directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm: JdbmIndexTest.java NoEqMatchAttribute.java
Date Fri, 28 Aug 2009 07:28:55 GMT
Author: elecharny
Date: Fri Aug 28 07:28:54 2009
New Revision: 808791

URL: http://svn.apache.org/viewvc?rev=808791&view=rev
Log:
Removed a useless class, replaced it with a instanciation of an attributeType

Removed:
    directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/NoEqMatchAttribute.java
Modified:
    directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java

Modified: directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java?rev=808791&r1=808790&r2=808791&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java
(original)
+++ directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java
Fri Aug 28 07:28:54 2009
@@ -42,6 +42,7 @@
 import org.apache.directory.server.core.entry.ServerEntry;
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.cursor.Cursor;
+import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.registries.AttributeTypeRegistry;
 import org.apache.directory.shared.ldap.schema.registries.OidRegistry;
 import org.apache.directory.shared.ldap.schema.registries.Registries;
@@ -558,7 +559,9 @@
 
         try
         {
-            jdbmIndex.init( new NoEqMatchAttribute(), dbFileDir );
+            AttributeType noEqMatchAttribute = new AttributeType( "1.1" );
+            
+            jdbmIndex.init( noEqMatchAttribute, dbFileDir );
             fail( "should not get here" );
         }
         catch( IOException e )



Mime
View raw message