directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r897348 - in /directory/apacheds/trunk: avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/ core/src/main/java/org/apache/directory/server/core/partition/impl/btree/ jdbm-partition/src/main/java/org/apache/directory/...
Date Fri, 08 Jan 2010 23:32:43 GMT
Author: seelmann
Date: Fri Jan  8 23:32:42 2010
New Revision: 897348

URL: http://svn.apache.org/viewvc?rev=897348&view=rev
Log:
Moved some method implementations to super class

Modified:
    directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlPartition.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
    directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java
    directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifPartition.java

Modified: directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlPartition.java?rev=897348&r1=897347&r2=897348&view=diff
==============================================================================
--- directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlPartition.java
(original)
+++ directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlPartition.java
Fri Jan  8 23:32:42 2010
@@ -483,18 +483,6 @@
     }
 
 
-    public LdapDN getSuffixDn()
-    {
-        return suffix;
-    }
-    
-    
-    public String getSuffix()
-    {
-        return suffix.getName();
-    }
-
-
     public void bind( BindOperationContext opContext ) throws Exception
     {
         throw new UnsupportedOperationException( "bind is not supported at the partition
level" );

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java?rev=897348&r1=897347&r2=897348&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
Fri Jan  8 23:32:42 2010
@@ -524,7 +524,7 @@
      */
     public abstract void setSubAliasIndexOn( Index<Long,ServerEntry> index ) throws
Exception;
 
-    
+
     /**
      * {@inheritDoc}
      */
@@ -534,6 +534,24 @@
     }
 
 
+    /**
+     * {@inheritDoc}
+     */
+    public String getSuffix()
+    {
+        return suffix.getName();
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public LdapDN getSuffixDn()
+    {
+        return suffix;
+    }
+
+
     public abstract Index<?,ServerEntry> getUserIndex( String attribute ) throws Exception;
 
 

Modified: directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java?rev=897348&r1=897347&r2=897348&view=diff
==============================================================================
--- directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java
(original)
+++ directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java
Fri Jan  8 23:32:42 2010
@@ -82,12 +82,6 @@
     // ------------------------------------------------------------------------
 
 
-    public LdapDN getSuffixDn()
-    {
-        return suffix;
-    }
-
-
     public boolean isOptimizerEnabled()
     {
         return optimizerEnabled;
@@ -472,12 +466,6 @@
         return store.getChildCount( id );
     }
 
-    
-    public final String getSuffix()
-    {
-        return store.getSuffixDn();
-    }
-
 
     public final void setProperty( String propertyName, String propertyValue ) throws Exception
     {

Modified: directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifPartition.java?rev=897348&r1=897347&r2=897348&view=diff
==============================================================================
--- directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifPartition.java
(original)
+++ directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifPartition.java
Fri Jan  8 23:32:42 2010
@@ -1003,18 +1003,6 @@
     }
 
 
-    public String getSuffix()
-    {
-        return wrappedPartition.getSuffix();
-    }
-    
-
-    public LdapDN getSuffixDn()
-    {
-        return suffix;
-    }
-
-
     public void unbind( UnbindOperationContext unbindContext ) throws Exception
     {
         wrappedPartition.unbind( unbindContext );



Mime
View raw message