jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1536759 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeDispatcher.java
Date Tue, 29 Oct 2013 15:33:24 GMT
Author: mduerig
Date: Tue Oct 29 15:33:23 2013
New Revision: 1536759

URL: http://svn.apache.org/r1536759
Log:
OAK-144 Implement observation
- ChangeDispatcher implements Observable

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeDispatcher.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeDispatcher.java?rev=1536759&r1=1536758&r2=1536759&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeDispatcher.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeDispatcher.java
Tue Oct 29 15:33:23 2013
@@ -61,7 +61,7 @@ import org.apache.jackrabbit.oak.spi.sta
  * The {@link #newListener()} method registers a listener for receiving changes reported
  * into a change dispatcher.
  */
-public class ChangeDispatcher {
+public class ChangeDispatcher implements Observable {
     private final Set<Listener> listeners = Sets.newHashSet();
     private final NodeStore store;
 
@@ -83,6 +83,7 @@ public class ChangeDispatcher {
      * when no longer needed.
      * @return  a new {@code Listener} instance.
      */
+    @Override
     @Nonnull
     public Listener newListener() {
         Listener listener = new Listener(root);



Mime
View raw message