INT-2238 interim commit
INT-2238 fixing warning comments INT-2238 fixing warning comments INT-2238 fixing warning comments
This commit is contained in:
committed by
Mark Fisher
parent
dfd039b78e
commit
43f60dae08
@@ -41,7 +41,7 @@ public class SftpOutboundGateway extends AbstractRemoteFileOutboundGateway<LsEnt
|
||||
* @param options
|
||||
* @param expression
|
||||
*/
|
||||
public SftpOutboundGateway(SessionFactory sessionFactory, String command, String expression) {
|
||||
public SftpOutboundGateway(SessionFactory<LsEntry> sessionFactory, String command, String expression) {
|
||||
super(sessionFactory, command, expression);
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jcraft.jsch.ChannelSftp.LsEntry;
|
||||
*/
|
||||
public class SftpInboundFileSynchronizer extends AbstractInboundFileSynchronizer<LsEntry> {
|
||||
|
||||
public SftpInboundFileSynchronizer(SessionFactory sessionFactory) {
|
||||
public SftpInboundFileSynchronizer(SessionFactory<LsEntry> sessionFactory) {
|
||||
super(sessionFactory);
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ import com.jcraft.jsch.SftpException;
|
||||
* @author Oleg Zhurakousky
|
||||
* @since 2.0
|
||||
*/
|
||||
class SftpSession implements Session {
|
||||
class SftpSession implements Session<LsEntry> {
|
||||
|
||||
private final Log logger = LogFactory.getLog(this.getClass());
|
||||
|
||||
@@ -71,7 +71,6 @@ class SftpSession implements Session {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public LsEntry[] list(String path) throws IOException {
|
||||
Assert.state(this.channel != null, "session is not connected");
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user