jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r528476 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
Date Fri, 13 Apr 2007 12:56:31 GMT
Author: stefan
Date: Fri Apr 13 05:56:30 2007
New Revision: 528476

URL: http://svn.apache.org/viewvc?view=rev&rev=528476
Log:
JCR-844: ArrayStoreException while reregistering existing node types 

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java?view=diff&rev=528476&r1=528475&r2=528476
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
Fri Apr 13 05:56:30 2007
@@ -288,7 +288,7 @@
                     ntReg.reregisterNodeType(nodeTypeDef);
                     nodeTypes.add(getNodeType(nodeTypeDef.getName()));
                 }
-                return (NodeType[]) nodeTypes.toArray(new NodeTypeDef[nodeTypes.size()]);
+                return (NodeType[]) nodeTypes.toArray(new NodeType[nodeTypes.size()]);
             } else {
                 return registerNodeTypes(nodeTypeDefs);
             }



Mime
View raw message