directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1550209 - in /directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory: BTree.java BTreeFactory.java
Date Wed, 11 Dec 2013 18:10:51 GMT
Author: elecharny
Date: Wed Dec 11 18:10:51 2013
New Revision: 1550209

URL: http://svn.apache.org/r1550209
Log:
o Removed some useless methods in the in-memory btree and in the in-memory BTreeFactory class

Modified:
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTree.java
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTreeFactory.java

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTree.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTree.java?rev=1550209&r1=1550208&r2=1550209&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTree.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTree.java
Wed Dec 11 18:10:51 2013
@@ -515,60 +515,6 @@ public class BTree<K, V> implements Clos
 
 
     /**
-     * @return the btreeOffset
-     */
-    /* No qualifier*/long getBtreeOffset()
-    {
-        return btreeHeader.getBTreeOffset();
-    }
-
-
-    /**
-     * @param btreeOffset the btreeOffset to set
-     */
-    /* No qualifier*/void setBtreeOffset( long btreeOffset )
-    {
-        btreeHeader.setBTreeOffset( btreeOffset );
-    }
-
-
-    /**
-     * @return the rootPageOffset
-     */
-    /* No qualifier*/long getRootPageOffset()
-    {
-        return btreeHeader.getRootPageOffset();
-    }
-
-
-    /**
-     * @param rootPageOffset the rootPageOffset to set
-     */
-    /* No qualifier*/void setRootPageOffset( long rootPageOffset )
-    {
-        btreeHeader.setRootPageOffset( rootPageOffset );
-    }
-
-
-    /**
-     * @return the nextBTreeOffset
-     */
-    /* No qualifier*/long getNextBTreeOffset()
-    {
-        return btreeHeader.getNextBTreeOffset();
-    }
-
-
-    /**
-     * @param nextBTreeOffset the nextBTreeOffset to set
-     */
-    /* No qualifier*/void setNextBTreeOffset( long nextBTreeOffset )
-    {
-        btreeHeader.setNextBTreeOffset( nextBTreeOffset );
-    }
-
-
-    /**
      * Gets the number which is a power of 2 immediately above the given positive number.
      */
     private int getPowerOf2( int size )

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTreeFactory.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTreeFactory.java?rev=1550209&r1=1550208&r2=1550209&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTreeFactory.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/memory/BTreeFactory.java
Wed Dec 11 18:10:51 2013
@@ -126,24 +126,6 @@ public class BTreeFactory
 
 
     /**
-     * @param rootPageOffset the rootPageOffset to set
-     */
-    public static <K, V> void setRootPageOffset( BTree<K, V> btree, long rootPageOffset
)
-    {
-        btree.setRootPageOffset( rootPageOffset );
-    }
-
-
-    /**
-     * @param nextBTreeOffset the nextBTreeOffset to set
-     */
-    public static <K, V> void setNextBTreeOffset( BTree<K, V> btree, long nextBTreeOffset
)
-    {
-        btree.setNextBTreeOffset( nextBTreeOffset );
-    }
-
-
-    /**
      * @param name the name to set
      */
     public static <K, V> void setName( BTree<K, V> btree, String name )



Mime
View raw message