Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Revert "WatchService Provides File Name Instead of Relative Path" #1754

Closed
wants to merge 1 commit into from

Conversation

kaikreuzer
Copy link
Contributor

Reverts #1597

@kaikreuzer kaikreuzer closed this Jun 27, 2016
@kaikreuzer kaikreuzer deleted the revert-1597-fix-watch-service-path branch June 27, 2016 18:02
petarnv pushed a commit to petarnv/smarthome that referenced this pull request Nov 1, 2016
* 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>
svilenvul added a commit to MusalaSoft/smarthome that referenced this pull request Nov 10, 2016
…rchived#1754.

The implementation of FolderObserver#processWatchEvent() does not get the file name correctly.
This led to duplicated directory names (see the logs in eclipse-archived#1597).

AbstractWatchServiceTest is modified to run on different OS.:

Signed-off-by: Svilen Valkanov, svilen.valkanov@musala.com (github:
svilenvul )
svilenvul pushed a commit to MusalaSoft/smarthome that referenced this pull request Nov 10, 2016
…rchived#1754.

The implementation of FolderObserver#processWatchEvent() does not get the file name correctly.
This led to duplicated directory names (see the logs in eclipse-archived#1597).

AbstractWatchServiceTest is modified to run on different OS.:

Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
svilenvul pushed a commit to MusalaSoft/smarthome that referenced this pull request Nov 10, 2016
…rchived#1754.

The implementation of FolderObserver#processWatchEvent() does not get the
file name correctly.
This led to duplicated directory names (see the logs in eclipse-archived#1597).

AbstractWatchServiceTest is modified to run on different OS.

Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
svilenvul pushed a commit to MusalaSoft/smarthome that referenced this pull request Nov 10, 2016
…rchived#1754.

The implementation of FolderObserver#processWatchEvent() does not get the
file name correctly.
This led to duplicated directory names (see the logs in eclipse-archived#1597).

AbstractWatchServiceTest is modified to run on different OS.

Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
svilenvul pushed a commit to MusalaSoft/smarthome that referenced this pull request Nov 10, 2016
…rchived#1754.

The implementation of FolderObserver#processWatchEvent() does not get the
file name correctly.
This led to duplicated directory names (see the logs in eclipse-archived#1597).

AbstractWatchServiceTest is modified to run on different OS.

Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
svilenvul pushed a commit to MusalaSoft/smarthome that referenced this pull request Nov 11, 2016
…rchived#1754.

The implementation of FolderObserver#processWatchEvent() does not get the
file name correctly.
This led to duplicated directory names (see the logs in eclipse-archived#1597).

AbstractWatchServiceTest is modified to run on different OS.

Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
kaikreuzer pushed a commit that referenced this pull request Nov 29, 2016
The implementation of FolderObserver#processWatchEvent() does not get the
file name correctly.
This led to duplicated directory names (see the logs in #1597).

AbstractWatchServiceTest is modified to run on different OS.

Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant