You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/08/30 14:18:15 UTC

[camel] branch master updated: Camel-File-watch: Removed unused imports

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 21716b4  Camel-File-watch: Removed unused imports
21716b4 is described below

commit 21716b4c3e16a306774ee5a5efc24704b3593daf
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Aug 30 16:17:51 2019 +0200

    Camel-File-watch: Removed unused imports
---
 .../java/org/apache/camel/component/file/watch/FileWatchConsumer.java   | 2 --
 .../java/org/apache/camel/component/file/watch/constants/FileEvent.java | 2 --
 .../apache/camel/component/file/watch/FileWatchComponentTestBase.java   | 1 -
 3 files changed, 5 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 8142c15..908e876 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
@@ -21,7 +21,6 @@ import java.io.IOException;
 import java.nio.file.Files;
 import java.nio.file.Path;
 import java.nio.file.Paths;
-import java.util.Objects;
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.LinkedBlockingQueue;
 import java.util.concurrent.TimeUnit;
@@ -32,7 +31,6 @@ import io.methvin.watcher.DirectoryWatcher;
 import org.apache.camel.Exchange;
 import org.apache.camel.Message;
 import org.apache.camel.Processor;
-import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.component.file.watch.constants.FileEvent;
 import org.apache.camel.component.file.watch.utils.PathUtils;
 import org.apache.camel.support.DefaultConsumer;
diff --git a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/constants/FileEvent.java b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/constants/FileEvent.java
index 8eca13a..2753bfe 100644
--- a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/constants/FileEvent.java
+++ b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/constants/FileEvent.java
@@ -17,8 +17,6 @@
 package org.apache.camel.component.file.watch.constants;
 
 import java.nio.file.Path;
-import java.util.Date;
-
 import io.methvin.watcher.DirectoryChangeEvent;
 
 public class FileEvent {
diff --git a/components/camel-file-watch/src/test/java/org/apache/camel/component/file/watch/FileWatchComponentTestBase.java b/components/camel-file-watch/src/test/java/org/apache/camel/component/file/watch/FileWatchComponentTestBase.java
index 1aca5d3..7312b75 100644
--- a/components/camel-file-watch/src/test/java/org/apache/camel/component/file/watch/FileWatchComponentTestBase.java
+++ b/components/camel-file-watch/src/test/java/org/apache/camel/component/file/watch/FileWatchComponentTestBase.java
@@ -27,7 +27,6 @@ import java.util.List;
 import org.apache.camel.Exchange;
 import org.apache.camel.component.file.watch.constants.FileEventEnum;
 import org.apache.camel.test.junit4.CamelTestSupport;
-import org.junit.After;
 import org.junit.Assert;
 import org.junit.Assume;
 import org.junit.Rule;