jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1299385 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/model/NodeState.java
Date Sun, 11 Mar 2012 16:12:53 GMT
Author: mduerig
Date: Sun Mar 11 16:12:53 2012
New Revision: 1299385

URL: http://svn.apache.org/viewvc?rev=1299385&view=rev
Log:
OAK-8: Make return types of NodeState#getProperties() and NodeState#getChildNodeEntries()
covariant

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/model/NodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/model/NodeState.java?rev=1299385&r1=1299384&r2=1299385&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/model/NodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/model/NodeState.java
Sun Mar 11 16:12:53 2012
@@ -118,7 +118,7 @@ public interface NodeState {
      *
      * @return properties in some stable order
      */
-    Iterable<PropertyState> getProperties();
+    Iterable<? extends PropertyState> getProperties();
 
     /**
      * Returns the named child node. The name is an opaque string and
@@ -154,6 +154,6 @@ public interface NodeState {
      *               or -1 for all remaining entries
      * @return requested child node entries in some stable order
      */
-    Iterable<ChildNodeEntry> getChildNodeEntries(long offset, long length);
+    Iterable<? extends ChildNodeEntry> getChildNodeEntries(long offset, long length);
 
 }



Mime
View raw message