jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1347676 - in /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator: NodeIteratorAdapter.java PropertyIteratorAdapter.java
Date Thu, 07 Jun 2012 15:24:00 GMT
Author: mduerig
Date: Thu Jun  7 15:24:00 2012
New Revision: 1347676

URL: http://svn.apache.org/viewvc?rev=1347676&view=rev
Log:
JCR-3332: Add constructor with size argument to Node- and PropertyIteratorAdapter

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeIteratorAdapter.java
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/PropertyIteratorAdapter.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeIteratorAdapter.java?rev=1347676&r1=1347675&r2=1347676&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeIteratorAdapter.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeIteratorAdapter.java
Thu Jun  7 15:24:00 2012
@@ -55,6 +55,10 @@ public class NodeIteratorAdapter extends
         super(new RangeIteratorAdapter(iterator));
     }
 
+    public NodeIteratorAdapter(Iterator iterator, long size) {
+        super(new RangeIteratorAdapter(iterator, size));
+    }
+
     /**
      * Creates an iterator for the given collection.
      *

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/PropertyIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/PropertyIteratorAdapter.java?rev=1347676&r1=1347675&r2=1347676&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/PropertyIteratorAdapter.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/PropertyIteratorAdapter.java
Thu Jun  7 15:24:00 2012
@@ -55,6 +55,10 @@ public class PropertyIteratorAdapter ext
         super(new RangeIteratorAdapter(iterator));
     }
 
+    public PropertyIteratorAdapter(Iterator iterator, long size) {
+        super(new RangeIteratorAdapter(iterator, size));
+    }
+
     /**
      * Creates an iterator for the given collection.
      *



Mime
View raw message