jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "Observation" by AlexanderKlimetschek
Date Wed, 23 Sep 2009 10:09:36 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "Observation" page has been changed by AlexanderKlimetschek:
http://wiki.apache.org/jackrabbit/Observation?action=diff&rev1=1&rev2=2

  public void onEvent(EventIterator events) {
      while (events.hasNext()) {
      Event e = events.nextEvent();
-     if (e instanceof JackrabbitEvent && !((JackrabbitEvent) e).isExternal()) {
+     if (e instanceof JackrabbitEvent && ((JackrabbitEvent) e).isExternal()) {
          // event originated in another cluster node
      } else {
          // event originated in this cluster node

Mime
View raw message