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/5ded80e8
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5ded80e8
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5ded80e8

Branch: refs/heads/camel-2.13.x
Commit: 5ded80e803ca90875cdc57be5e629459c304ca88
Parents: bfe2c53
Author: Willem Jiang <willem.ji...@gmail.com>
Authored: Tue Oct 21 16:20:53 2014 +0800
Committer: Willem Jiang <willem.ji...@gmail.com>
Committed: Tue Oct 21 16:22:58 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/5ded80e8/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");
         }

Reply via email to