On Tue, Oct 12, 2010 at 1:00 AM, Gary Gregory
wrote:
> Hi All:
>
> Is there any reason why the FilesystemMonitor.run() method is not
> short-circuited ASAP? For example, by doing this:
Its more consistent - all observers get notified, rather than
(possibly) having only some that are and some not
Hi All:
Is there any reason why the FilesystemMonitor.run() method is not short-
circuited ASAP? For example, by doing this:
/**
* Run.
*/
public void run() {
while (running) {
for (FilesystemObserver observer : observers) {
observer.checkAndN