This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 02b7c50 Fixed CS for camel-file-watch 02b7c50 is described below commit 02b7c509661d4772247432ac9020a123b3848306 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Aug 29 10:29:25 2019 +0200 Fixed CS for camel-file-watch --- .../java/org/apache/camel/component/file/watch/FileWatchConsumer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConsumer.java b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConsumer.java index 8b79d4b..8142c15 100644 --- a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConsumer.java +++ b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConsumer.java @@ -160,11 +160,11 @@ public class FileWatchConsumer extends DefaultConsumer { } private boolean matchFilters(FileEvent fileEvent) { - if (ObjectHelper.isNotEmpty(getEndpoint().getEvents())) { + if (ObjectHelper.isNotEmpty(getEndpoint().getEvents())) { if (!getEndpoint().getEvents().contains(fileEvent.getEventType())) { return false; } - } + } if (!getEndpoint().isRecursive()) { // On some platforms (eg macOS) is WatchService always recursive,