You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by el...@apache.org on 2013/03/18 14:49:11 UTC

svn commit: r1457767 - /labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeFactory.java

Author: elecharny
Date: Mon Mar 18 13:49:11 2013
New Revision: 1457767

URL: http://svn.apache.org/r1457767
Log:
Made the createLeaf()./createNode() method return Leaf/Node instead of Page

Modified:
    labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeFactory.java

Modified: labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeFactory.java
URL: http://svn.apache.org/viewvc/labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeFactory.java?rev=1457767&r1=1457766&r2=1457767&view=diff
==============================================================================
--- labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeFactory.java (original)
+++ labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeFactory.java Mon Mar 18 13:49:11 2013
@@ -55,9 +55,9 @@ public class BTreeFactory
      * @param nbElems The number or elements in this node
      * @return A Node instance
      */
-    public static Page createNode( BTree btree, long revision, int nbElems )
+    public static Node createNode( BTree btree, long revision, int nbElems )
     {
-        Page node = new Node( btree, revision, nbElems );
+        Node node = new Node( btree, revision, nbElems );
 
         return node;
     }
@@ -71,9 +71,9 @@ public class BTreeFactory
      * @param nbElems The number or elements in this leaf
      * @return A Leaf instance
      */
-    public static Page createLeaf( BTree btree, long revision, int nbElems )
+    public static Leaf createLeaf( BTree btree, long revision, int nbElems )
     {
-        Page leaf = new Leaf( btree, revision, nbElems );
+        Leaf leaf = new Leaf( btree, revision, nbElems );
 
         return leaf;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org