@Override public final void contentChanged(@Nonnull NodeState root, @Nonnull CommitInfo info) { if (filter.excludes(root, info)) { lastNoop = root; return; } // current change is not an noop if (lastNoop != null) { // report up to previous noop backgroundObserver.contentChanged(lastNoop, NOOP_CHANGE); lastNoop = null; } backgroundObserver.contentChanged(root, info); }
@Override public final void contentChanged(@NotNull NodeState root, @NotNull CommitInfo info) { if (filter.excludes(root, info)) { lastNoop = root; return; } // current change is not an noop if (lastNoop != null) { // report up to previous noop backgroundObserver.contentChanged(lastNoop, NOOP_CHANGE); lastNoop = null; } backgroundObserver.contentChanged(root, info); }
@Override public final void contentChanged(@NotNull NodeState root, @NotNull CommitInfo info) { if (filter.excludes(root, info)) { lastNoop = root; return; } // current change is not an noop if (lastNoop != null) { // report up to previous noop backgroundObserver.contentChanged(lastNoop, NOOP_CHANGE); lastNoop = null; } backgroundObserver.contentChanged(root, info); }