INT-2494 Move listNames() Method to Session
ExtendedSession, with the listNames() method was introduced in 2.1.1 (INT-2492) to support mget commands on the gateway. This was to avoid breaking any user implementations of Session in a point release. However, we documented this was temporary and the interfaces would be consolidated in 2.2., and ExtendedSession would be removed. This is that consolidation.
This commit is contained in:
@@ -24,7 +24,6 @@ import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.apache.commons.net.ftp.FTPClient;
|
||||
import org.apache.commons.net.ftp.FTPFile;
|
||||
import org.springframework.integration.file.remote.session.ExtendedSession;
|
||||
import org.springframework.integration.file.remote.session.Session;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
@@ -36,7 +35,7 @@ import org.springframework.util.Assert;
|
||||
* @author Gary Russell
|
||||
* @since 2.0
|
||||
*/
|
||||
public class FtpSession implements ExtendedSession<FTPFile> {
|
||||
public class FtpSession implements Session<FTPFile> {
|
||||
|
||||
private final Log logger = LogFactory.getLog(this.getClass());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user