-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The keysWithEvents was exposing unsynchronized mutable data. Even though it was only accessed from a different thread inside of synchronized blocks, it seems better to guarantee this behavior by adding a helper accessor that ensures synchronization. For binary compatibility had to provide a getter (that I deprecated) for _keysWithEvents. I suspect that no one is using these apis outside of the PollingWatchService file since PollingThread is private which suggests that it might make sense to just add a mima filter instead.
- Loading branch information
Showing
1 changed file
with
17 additions
and
16 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