in src/main/java/org/apache/sling/fsprovider/internal/FileMonitor.java [117:141]
public void run() {
synchronized (timer) {
stopped = false;
if (stop) {
stopped = true;
timer.notifyAll();
return;
}
}
synchronized (this) {
try {
// if we don't have an observation reporter, we just skip the check
final ObservationReporter reporter = this.provider.getObservationReporter();
if (reporter != null) {
this.check(this.root, reporter);
}
} catch (Exception e) {
// ignore this
}
}
synchronized (timer) {
stopped = true;
timer.notifyAll();
}
}