jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r231037 - /incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemState.java
Date Tue, 09 Aug 2005 13:58:37 GMT
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?
     }
 
     /**



Mime
View raw message