jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r577835 - /jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/SearchManager.java
Date Thu, 20 Sep 2007 17:51:39 GMT
Author: jukka
Date: Thu Sep 20 10:51:38 2007
New Revision: 577835

URL: http://svn.apache.org/viewvc?rev=577835&view=rev
Log:
1.3: Merged revision 576813 (JCR-905)

Modified:
    jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/SearchManager.java

Modified: jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/SearchManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/SearchManager.java?rev=577835&r1=577834&r2=577835&view=diff
==============================================================================
--- jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/SearchManager.java
(original)
+++ jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/SearchManager.java
Thu Sep 20 10:51:38 2007
@@ -334,6 +334,10 @@
                 long type = e.getType();
                 if (type == Event.NODE_ADDED) {
                     addedNodes.put(e.getChildId(), e);
+                    // quick'n dirty fix for JCR-905
+                    if (e.isExternal()) {
+                        removedNodes.add(e.getChildId());
+                    }
                 } else if (type == Event.NODE_REMOVED) {
                     removedNodes.add(e.getChildId());
                 } else {



Mime
View raw message