jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1502492 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/ChangeProcessor.java
Date Fri, 12 Jul 2013 09:26:31 GMT
Author: mduerig
Date: Fri Jul 12 09:26:30 2013
New Revision: 1502492

URL: http://svn.apache.org/r1502492
Log:
OAK-144 Implement observation
Remove unused field

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/ChangeProcessor.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/ChangeProcessor.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/ChangeProcessor.java?rev=1502492&r1=1502491&r2=1502492&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/ChangeProcessor.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/ChangeProcessor.java
Fri Jul 12 09:26:30 2013
@@ -214,27 +214,24 @@ class ChangeProcessor implements Runnabl
         private final String path;
         private final NodeState beforeParentNode;
         private final NodeState afterParentNode;
-        private final EventGeneratingNodeStateDiff parent;
         private final String name;
 
         private List<Iterator<Event>> events;
         private int childNodeCount;
 
         EventGeneratingNodeStateDiff(ChangeSet changes, String path, List<Iterator<Event>>
events,
-                NodeState beforeParentNode, NodeState afterParentNode,
-                EventGeneratingNodeStateDiff parent, String name) {
+                NodeState beforeParentNode, NodeState afterParentNode, String name) {
 
             this.changes = changes;
             this.path = path;
             this.events = events;
             this.beforeParentNode = beforeParentNode;
             this.afterParentNode = afterParentNode;
-            this.parent = parent;
             this.name = name;
         }
 
         public EventGeneratingNodeStateDiff(ChangeSet changes, String path) {
-            this(changes, path, new ArrayList<Iterator<Event>>(PURGE_LIMIT),
null, null, null, "");
+            this(changes, path, new ArrayList<Iterator<Event>>(PURGE_LIMIT),
null, null, "");
         }
 
         public void sendEvents() {
@@ -315,7 +312,7 @@ class ChangeProcessor implements Runnabl
         public RecursingNodeStateDiff createChildDiff(String name, NodeState before, NodeState
after) {
             if (filterRef.get().includeChildren(path)) {
                 EventGeneratingNodeStateDiff diff = new EventGeneratingNodeStateDiff(
-                        changes, PathUtils.concat(path, name), events, before, after, this,
name);
+                        changes, PathUtils.concat(path, name), events, before, after, name);
                 return VisibleDiff.wrap(diff);
             } else {
                 return RecursingNodeStateDiff.EMPTY;



Mime
View raw message