directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 47542 - incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm
Date Thu, 30 Sep 2004 03:35:47 GMT
Author: akarasulu
Date: Wed Sep 29 20:35:47 2004
New Revision: 47542

Added:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/JdbmIndex.java
      - copied, changed from rev 47541, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/DefaultIndex.java
Removed:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/DefaultIndex.java
Modified:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java
Log:
renamed DefaultIndex to JdbmIndex

Modified: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java
Wed Sep 29 20:35:47 2004
@@ -108,7 +108,7 @@
     public void addIndexOn( AttributeType spec )
         throws NamingException
     {
-        Index idx = new DefaultIndex( spec, wkdir );
+        Index idx = new JdbmIndex( spec, wkdir );
         indices.put( spec.getName().toLowerCase(), idx );
     }
 

Copied: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/JdbmIndex.java
(from rev 47541, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/DefaultIndex.java)
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/DefaultIndex.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/db/jdbm/JdbmIndex.java
Wed Sep 29 20:35:47 2004
@@ -204,7 +204,7 @@
  */
 
 /*
- * $Id: DefaultIndex.java,v 1.5 2003/10/08 16:46:11 akarasulu Exp $
+ * $Id: JdbmIndex.java,v 1.5 2003/10/08 16:46:11 akarasulu Exp $
  *
  * -- (c) LDAPd Group                                                    --
  * -- Please refer to the LICENSE.txt file in the root directory of      --
@@ -239,10 +239,10 @@
 
 
 /**
- * @todo rename to JdbmIndex
+ * A Jdbm based index implementation.
  *
  */
-public class DefaultIndex implements Index
+public class JdbmIndex implements Index
 {
     /**  */
     public static final String FORWARD_BTREE = "_forward";
@@ -278,7 +278,7 @@
      * @param recMan the record manager
      * @throws NamingException if we fail to create B+Trees using recMan
      */
-    public DefaultIndex( AttributeType attribute, RecordManager recMan ) 
+    public JdbmIndex( AttributeType attribute, RecordManager recMan )
         throws NamingException
     {
         this.attribute = attribute;
@@ -295,7 +295,7 @@
      * @param wkDirPath TODO
      * @throws NamingException TODO
      */
-    public DefaultIndex( AttributeType attribute, String wkDirPath ) 
+    public JdbmIndex( AttributeType attribute, String wkDirPath )
         throws NamingException
     {
         File file = new File( wkDirPath + File.separator 

Mime
View raw message