You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2015/05/27 12:00:33 UTC

svn commit: r1681945 - /directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java

Author: kayyagari
Date: Wed May 27 10:00:32 2015
New Revision: 1681945

URL: http://svn.apache.org/r1681945
Log:
o updated javadoc
o changed the signature of free() method

Modified:
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java?rev=1681945&r1=1681944&r2=1681945&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java (original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java Wed May 27 10:00:32 2015
@@ -364,9 +364,9 @@ public class RecordManager extends Abstr
      * The RecordManager header contains the following details :
      * <pre>
      * +--------------------------+
-     * | PageSize                 | 4 bytes : The size of a physical page (default to 4096)
+     * | PageSize                 | 4 bytes : The size of a physical page (default to 512)
      * +--------------------------+
-     * |  NbTree                  | 4 bytes : The number of managed B-trees (at least 1)
+     * |  NbTree                  | 4 bytes : The number of managed B-trees (zero or more)
      * +--------------------------+
      * | FirstFree                | 8 bytes : The offset of the first free page
      * +--------------------------+
@@ -3829,7 +3829,7 @@ public class RecordManager extends Abstr
      * @param offsets The offsets of the pages whose associated PageIOs will be fetched and freed.
      * @throws IOException If we weren't capable of updating the file
      */
-    public void free( long[] offsets ) throws IOException
+    /*no qualifier*/ void free( long... offsets ) throws IOException
     {
         List<PageIO> pageIos = new ArrayList<PageIO>();
         int pageIndex = 0;