spring-boot/spring-boot-devtools
Andy Wilkinson 9f425343ae Make FileSystemWatcherTests thread-safe
The list of changes is written to on one thread and read from on
another. Without some form of sychronization this is not thread-safe.

This commit makes changes a synchronized list which should guarantee
that the reading thread can see the changes made by the writing thread.
It also removes a redundant call to clear the list of changes at the
start of waitsForPollingInterval.

See gh-6038
2016-05-25 20:59:03 +01:00
..
src Make FileSystemWatcherTests thread-safe 2016-05-25 20:59:03 +01:00
pom.xml Next Development Version 2016-05-10 05:28:34 +00:00