forked from eclipse-archived/smarthome
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various improvements in AbstractWatchService.
* Fixes bug introduced by eclipse-archived#1597 reverted with eclipse-archived#1754, that led to duplicated directory names in FolderObserver * Added directory registration after initialization.This change allows all classes that extend AbstractWatchService to register directories to be watched, after the WatchService is initialized. This will be possible with the registerAllDirectoriesInternal() method.The implementaions can handle the DIRECTORY_CREATED event, in order to do that. * Added test cases for the registration of directories after service initialization * Test class is refactored * Improved javadoc of AbstractWatchService and AbstractQueueReader Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
- Loading branch information
Svilen Valkanov
committed
Aug 5, 2016
1 parent
e044a97
commit 38cc577
Showing
4 changed files
with
290 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.