// FIXME don't rely on toString for session id
if (provider.includeCommit(contentSession.toString(), info)) {
String basePath = provider.getPath();
Filter userFilter = provider.getFilter(previousRoot, root);
Filter acFilter = new ACFilter(previousRoot, root, permissionProvider, basePath);
ImmutableTree beforeTree = getTree(previousRoot, basePath);
ImmutableTree afterTree = getTree(root, basePath);
EventIterator<Event> events = new EventIterator<Event>(
beforeTree.getNodeState(), afterTree.getNodeState(),
Filters.all(userFilter, acFilter),
new JcrListener(beforeTree, afterTree, namePathMapper, info));
if (events.hasNext() && runningMonitor.enterIf(running)) {
try {
eventListener.onEvent(new EventIteratorAdapter(events));