Files
spring-integration/spring-integration-file
Artem Bilan 6a51da65e6 INT-4185: Fix FileReadingMessageSource for Java 6
JIRA: https://jira.spring.io/browse/INT-4185

Even if `WatchEventType` doesn't expose Java 7 API, its instantiation leads to the `StandardWatchEventKinds` object which already isn't Java 6

* Move `this.watchEvents = new WatchEventType[] { WatchEventType.CREATE }` to the ctor and guard it with the `ClassUtils.isPresent("java.nio.file.WatchService")`

Assertions for `WatchService`-based setters
2016-12-15 16:34:44 -05:00
..