jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1535393 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java
Date Thu, 24 Oct 2013 14:45:34 GMT
Author: jukka
Date: Thu Oct 24 14:45:33 2013
New Revision: 1535393

URL: http://svn.apache.org/r1535393
Log:
OAK-1112: Support user data in local events

Remove the now unused userDataRef

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java?rev=1535393&r1=1535392&r2=1535393&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java
Thu Oct 24 14:45:33 2013
@@ -80,7 +80,6 @@ public class ChangeProcessor implements 
     private final ContentSession contentSession;
     private final NamePathMapper namePathMapper;
     private final AtomicReference<EventFilter> filterRef;
-    private final AtomicReference<String> userDataRef = new AtomicReference<String>(null);
 
     private final ListenerTracker tracker;
     private final EventListener listener;
@@ -113,14 +112,6 @@ public class ChangeProcessor implements 
     }
 
     /**
-     * Set the user data to return with {@link javax.jcr.observation.Event#getUserData()}.
-     * @param userData
-     */
-    public void setUserData(String userData) {
-        userDataRef.set(userData);
-    }
-
-    /**
      * Start this change processor
      * @param whiteboard  the whiteboard instance to used for scheduling individual
      *                    runs of this change processor.



Mime
View raw message