You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by st...@apache.org on 2005/08/09 15:58:37 UTC

svn commit: r231037 - /incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemState.java

Author: stefan
Date: Tue Aug  9 06:58:31 2005
New Revision: 231037

URL: http://svn.apache.org/viewcvs?rev=231037&view=rev
Log:
quick fix for concurrency issue reported by walter raboch
see thread http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/3109

Modified:
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemState.java

Modified: incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemState.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemState.java?rev=231037&r1=231036&r2=231037&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemState.java (original)
+++ incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemState.java Tue Aug  9 06:58:31 2005
@@ -447,8 +447,8 @@
             status = STATUS_STALE_DESTROYED;
         } else {
             status = STATUS_EXISTING_REMOVED;
+            notifyStateDestroyed();
         }
-        // @todo propagate event to our listeners too?
     }
 
     /**
@@ -461,8 +461,8 @@
         } else {
             // this instance represents existing state, update it
             pull();
+            notifyStateUpdated();
         }
-        // @todo propagate event to our listeners too?
     }
 
     /**