jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1540103 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/EventGenerator.java
Date Fri, 08 Nov 2013 16:14:30 GMT
Author: mduerig
Date: Fri Nov  8 16:14:29 2013
New Revision: 1540103

URL: http://svn.apache.org/r1540103
Log:
OAK-144 Implement observation
Filter against after state

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/EventGenerator.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/EventGenerator.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/EventGenerator.java?rev=1540103&r1=1540102&r2=1540103&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/EventGenerator.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/EventGenerator.java
Fri Nov  8 16:14:29 2013
@@ -170,7 +170,7 @@ class EventGenerator extends ForwardingI
 
     @Override
     public MoveValidator childNodeDeleted(String name, NodeState before) {
-        if (filter.include(NODE_REMOVED, beforeTree)) {
+        if (filter.include(NODE_REMOVED, afterTree)) {
             events.add(createEvent(NODE_REMOVED, beforeTree.getChild(name)));
         }
         if (filter.includeChildren(beforeTree.getPath())) {



Mime
View raw message