jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r209456 - /incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/NodeState.java
Date Wed, 06 Jul 2005 13:20:54 GMT
Author: stefan
Date: Wed Jul  6 06:20:52 2005
New Revision: 209456

URL: http://svn.apache.org/viewcvs?rev=209456&view=rev
Log:
NodeState.renameChildNodeEntry incorrectly fires NodeAdded event twice

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

Modified: incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/NodeState.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/NodeState.java?rev=209456&r1=209455&r2=209456&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/NodeState.java
(original)
+++ incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/NodeState.java
Wed Jul  6 06:20:52 2005
@@ -357,7 +357,7 @@
         ChildNodeEntry oldEntry = childNodeEntries.remove(oldName, index);
         if (oldEntry != null) {
             ChildNodeEntry newEntry =
-                    addChildNodeEntry(newName, oldEntry.getUUID());
+                    childNodeEntries.add(newName, oldEntry.getUUID());
             notifyNodeAdded(newEntry);
             notifyNodeRemoved(oldEntry);
             return true;



Mime
View raw message