jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1327145 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java
Date Tue, 17 Apr 2012 15:29:49 GMT
Author: reschke
Date: Tue Apr 17 15:29:49 2012
New Revision: 1327145

URL: http://svn.apache.org/viewvc?rev=1327145&view=rev
Log:
fix getIndex()

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java?rev=1327145&r1=1327144&r2=1327145&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java
Tue Apr 17 15:29:49 2012
@@ -505,8 +505,8 @@ public class NodeImpl extends ItemImpl i
 
     @Override
     public int getIndex() throws RepositoryException {
-        // TODO
-        return 0;
+        // as long as we don not support same name siblings, index always is 1
+        return 1;
     }
 
     /**



Mime
View raw message