jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r407242 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDefDiff.java
Date Wed, 17 May 2006 12:57:42 GMT
Author: stefan
Date: Wed May 17 05:57:42 2006
New Revision: 407242

URL: http://svn.apache.org/viewcvs?rev=407242&view=rev
Log:
JCR-434: ArrayIndexOutOfBoundsException in NodeTypeDefDiff

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDefDiff.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDefDiff.java
URL: http://svn.apache.org/viewcvs/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDefDiff.java?rev=407242&r1=407241&r2=407242&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDefDiff.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDefDiff.java
Wed May 17 05:57:42 2006
@@ -300,7 +300,7 @@
 
         NodeDef[] cnda2 = newDef.getChildNodeDefs();
         HashMap defs2 = new HashMap();
-        for (int i = 0; i < cnda1.length; i++) {
+        for (int i = 0; i < cnda2.length; i++) {
             defs2.put(cnda2[i].getId(), cnda2[i]);
         }
 



Mime
View raw message