You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2014/10/21 10:23:25 UTC

[2/3] git commit: CAMEL-7930 Fixed the org.apache.camel.itest.ftp.SpringFtpEndpointTest test failure with JDK6

CAMEL-7930 Fixed the org.apache.camel.itest.ftp.SpringFtpEndpointTest test failure with JDK6


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/13e61333
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/13e61333
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/13e61333

Branch: refs/heads/camel-2.14.x
Commit: 13e6133323416b32c319a699a3849bc78966356f
Parents: ee9f562
Author: Willem Jiang <wi...@gmail.com>
Authored: Tue Oct 21 16:20:53 2014 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Tue Oct 21 16:22:48 2014 +0800

----------------------------------------------------------------------
 .../java/org/apache/camel/component/file/remote/FtpEndpoint.java | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/13e61333/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
index dfb6def..0652022 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
@@ -146,10 +146,6 @@ public class FtpEndpoint<T extends FTPFile> extends RemoteFileEndpoint<FTPFile>
 
     @Override
     public void setConfiguration(GenericFileConfiguration configuration) {
-        setConfiguration((FtpConfiguration)configuration);
-    }
-
-    public void setConfiguration(FtpConfiguration configuration) {
         if (configuration == null) {
             throw new IllegalArgumentException("FtpConfiguration expected");
         }