You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2010/11/01 14:23:32 UTC

svn commit: r1029645 - /directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/GenericIndex.java

Author: elecharny
Date: Mon Nov  1 13:23:32 2010
New Revision: 1029645

URL: http://svn.apache.org/viewvc?rev=1029645&view=rev
Log:
Removed some fields and methods, as they are already present in the AbstractIndex class

Modified:
    directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/GenericIndex.java

Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/GenericIndex.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/GenericIndex.java?rev=1029645&r1=1029644&r2=1029645&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/GenericIndex.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/GenericIndex.java Mon Nov  1 13:23:32 2010
@@ -34,12 +34,6 @@ import org.apache.directory.shared.ldap.
  */
 public class GenericIndex<K, O, ID> extends AbstractIndex<K, O, ID>
 {
-    /** The attribute identifier for this index */ 
-    protected String attributeId;
-    
-    /** Index cache size */
-    protected int cacheSize;
-    
     /** Index working directory */
     protected File wkDirPath;
 
@@ -77,7 +71,6 @@ public class GenericIndex<K, O, ID> exte
     public GenericIndex( String attributeId, int cacheSize, File wkDirPath )
     {
         super( attributeId );
-        this.attributeId = attributeId;
         this.cacheSize = cacheSize;
         this.wkDirPath = wkDirPath;
     }
@@ -221,18 +214,6 @@ public class GenericIndex<K, O, ID> exte
     }
 
 
-    public String getAttributeId()
-    {
-        return attributeId;
-    }
-
-
-    public int getCacheSize()
-    {
-        return cacheSize;
-    }
-
-
     public K getNormalized( K attrVal ) throws Exception
     {
         throw new UnsupportedOperationException();
@@ -287,18 +268,6 @@ public class GenericIndex<K, O, ID> exte
     }
 
 
-    public void setAttributeId( String attributeId )
-    {
-        this.attributeId = attributeId;
-    }
-
-
-    public void setCacheSize( int cacheSize )
-    {
-        this.cacheSize = cacheSize;
-    }
-
-
     public void setWkDirPath( File wkDirPath )
     {
         this.wkDirPath = wkDirPath;