What steps will reproduce the problem?
1. Watch a file with FileMonitor
2. Delete or Move the file
3. The FileMonitor performs a unwatch
4. Paste again the file in the watching url
What is the expected output? What do you see instead?
FileMonitor should dispatch a File Create event, but instead nothing happens
Please use labels and text to provide additional information.
This happens because in the unwatch function the timer is not set to null,
so when the watch method is called again it doesn't adds the timer's
listener because the timer is not null and doesn't enter in the if where
the timer listener is set....
it's easily solved just by setting the timer to null in the unwatch method
Original issue reported on code.google.com by gustavos...@gmail.com on 12 Jun 2009 at 10:13
Original issue reported on code.google.com by
gustavos...@gmail.com
on 12 Jun 2009 at 10:13