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/07/06 15:20:54 UTC
svn commit: r209456 -
/incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/NodeState.java
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;