jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r220289 - /incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
Date Fri, 22 Jul 2005 10:27:28 GMT
Author: stefan
Date: Fri Jul 22 03:27:24 2005
New Revision: 220289

URL: http://svn.apache.org/viewcvs?rev=220289&view=rev
Log:
NodeTypeImpl instances are not flushed from NodeTypeManagerImpl cache upon changes in NodeTypeRegistry

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

Modified: incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java?rev=220289&r1=220288&r2=220289&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
(original)
+++ incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
Fri Jul 22 03:27:24 2005
@@ -189,7 +189,7 @@
             Iterator iter = pdCache.values().iterator();
             while (iter.hasNext()) {
                 PropertyDefinitionImpl pd = (PropertyDefinitionImpl) iter.next();
-                if (ntName.equals(pd.getDeclaringNodeType())) {
+                if (ntName.equals(pd.unwrap().getDeclaringNodeType())) {
                     iter.remove();
                 }
             }
@@ -198,7 +198,7 @@
             Iterator iter = ndCache.values().iterator();
             while (iter.hasNext()) {
                 NodeDefinitionImpl nd = (NodeDefinitionImpl) iter.next();
-                if (ntName.equals(nd.getDeclaringNodeType())) {
+                if (ntName.equals(nd.unwrap().getDeclaringNodeType())) {
                     iter.remove();
                 }
             }
@@ -215,7 +215,7 @@
             Iterator iter = pdCache.values().iterator();
             while (iter.hasNext()) {
                 PropertyDefinitionImpl pd = (PropertyDefinitionImpl) iter.next();
-                if (ntName.equals(pd.getDeclaringNodeType())) {
+                if (ntName.equals(pd.unwrap().getDeclaringNodeType())) {
                     iter.remove();
                 }
             }
@@ -224,7 +224,7 @@
             Iterator iter = ndCache.values().iterator();
             while (iter.hasNext()) {
                 NodeDefinitionImpl nd = (NodeDefinitionImpl) iter.next();
-                if (ntName.equals(nd.getDeclaringNodeType())) {
+                if (ntName.equals(nd.unwrap().getDeclaringNodeType())) {
                     iter.remove();
                 }
             }



Mime
View raw message