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 2012/08/22 11:25:03 UTC
svn commit: r1375955 -
/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java
Author: elecharny
Date: Wed Aug 22 09:25:03 2012
New Revision: 1375955
URL: http://svn.apache.org/viewvc?rev=1375955&view=rev
Log:
Removed methods that are already present in the parent class.
Modified:
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java?rev=1375955&r1=1375954&r2=1375955&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java Wed Aug 22 09:25:03 2012
@@ -86,37 +86,4 @@ public class AvlRdnIndex<E> extends AvlI
reverse = new AvlTable<Long, ParentIdAndRdn<Long>>( attributeType.getName(), LongComparator.INSTANCE, comp,
false );
}
-
-
- public void add( ParentIdAndRdn<Long> rdn, Long entryId ) throws Exception
- {
- forward.put( rdn, entryId );
- reverse.put( entryId, rdn );
- }
-
-
- public void drop( Long entryId ) throws Exception
- {
- ParentIdAndRdn<Long> rdn = reverse.get( entryId );
- forward.remove( rdn );
- reverse.remove( entryId );
- }
-
-
- public void drop( ParentIdAndRdn<Long> rdn, Long id ) throws Exception
- {
- long val = forward.get( rdn );
-
- if ( val == id )
- {
- forward.remove( rdn );
- reverse.remove( val );
- }
- }
-
-
- public ParentIdAndRdn<Long> getNormalized( ParentIdAndRdn<Long> rdn ) throws Exception
- {
- return rdn;
- }
}