... and FtpTarget should depend on that interface

This commit is contained in:
Iwein Fuld
2008-08-14 20:23:23 +00:00
parent d8778de0e5
commit 08252fdbaf

View File

@@ -38,7 +38,7 @@ public class FtpTarget implements MessageTarget {
private final MessageMapper<?, File> messageMapper;
private volatile QueuedFTPClientPool ftpClientPool = new QueuedFTPClientPool();
private volatile FTPClientPool ftpClientPool = new QueuedFTPClientPool();
public FtpTarget(MessageMapper<?, File> messageMapper) {
@@ -47,7 +47,7 @@ public class FtpTarget implements MessageTarget {
}
public void setFtpClientPool(QueuedFTPClientPool ftpClientPool) {
public void setFtpClientPool(FTPClientPool ftpClientPool) {
Assert.notNull(ftpClientPool, "ftpClientPool must not be null");
this.ftpClientPool = ftpClientPool;
}