jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1297549 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java
Date Tue, 06 Mar 2012 16:11:06 GMT
Author: jukka
Date: Tue Mar  6 16:11:06 2012
New Revision: 1297549

URL: http://svn.apache.org/viewvc?rev=1297549&view=rev
Log:
OAK-3: Internal tree model

Restore the length argument to getChildNodeEntries()

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java?rev=1297549&r1=1297548&r2=1297549&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/tree/NodeState.java
Tue Mar  6 16:11:06 2012
@@ -141,8 +141,10 @@ public interface NodeState {
      * offset is greater than the offset of the last child node entry.
      *
      * @param offset zero-based offset of the first entry to return
+     * @param length maximum number of entries to return,
+     *               or -1 for all remaining entries
      * @return requested child node entries in some stable order
      */
-    Iterable<ChildNodeEntry> getChildNodeEntries(long offset);
+    Iterable<ChildNodeEntry> getChildNodeEntries(long offset, long length);
 
 }



Mime
View raw message