jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r111259 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.java
Date Wed, 08 Dec 2004 11:40:13 GMT
Author: stefan
Date: Wed Dec  8 03:40:12 2004
New Revision: 111259

URL: http://svn.apache.org/viewcvs?view=rev&rev=111259
Log:
fixing JIRA issue JCR-24: ClassCastException bei unregisterNodeType
Modified:
   incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.java
Url: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.java?view=diff&rev=111259&p1=incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.java&r1=111258&p2=incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.java&r2=111259
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.java
Wed Dec  8 03:40:12 2004
@@ -1269,7 +1269,7 @@
          * node type
          */
         HashSet names = new HashSet();
-        Iterator iter = registeredNTDefs.keySet().iterator();
+        Iterator iter = registeredNTDefs.values().iterator();
         while (iter.hasNext()) {
             NodeTypeDef ntd = (NodeTypeDef) iter.next();
             if (ntd.getDependencies().contains(nodeTypeName)) {

Mime
View raw message