jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r901095 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
Date Wed, 20 Jan 2010 08:03:17 GMT
Author: thomasm
Date: Wed Jan 20 08:02:59 2010
New Revision: 901095

URL: http://svn.apache.org/viewvc?rev=901095&view=rev
Log:
JCR-2449 Slow performance due to JCR-2138

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java?rev=901095&r1=901094&r2=901095&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
Wed Jan 20 08:02:59 2010
@@ -881,10 +881,6 @@
             // process added REFERENCE properties
             for (ItemState state : local.addedStates()) {
                 if (!state.isNode()) {
-                    // remove refs from the target which have been added externally (JCR-2138)
-                    if (hasItemState(state.getId())) {
-                        removeReferences(getItemState(state.getId()));
-                    }
                     // add new references to the target
                     addReferences((PropertyState) state);
                 }



Mime
View raw message