jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r950610 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java
Date Wed, 02 Jun 2010 15:54:23 GMT
Author: jukka
Date: Wed Jun  2 15:54:23 2010
New Revision: 950610

URL: http://svn.apache.org/viewvc?rev=950610&view=rev
Log:
JCR-2617: ItemStateMap warnings during node type changes

Clear also the virtual node state cache when discarding the whole virtual subtree.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java?rev=950610&r1=950609&r2=950610&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java
Wed Jun  2 15:54:23 2010
@@ -200,6 +200,7 @@ public abstract class AbstractVISProvide
     protected synchronized void discardAll() {
         if (root != null) {
             discardTree(root);
+            nodes.clear();
             root = null;
         }
     }



Mime
View raw message