INT-2238 interim commit

INT-2238 fixing warning comments

INT-2238 fixing warning comments

INT-2238 fixing warning comments
This commit is contained in:
Oleg Zhurakousky
2011-11-22 05:59:12 -05:00
committed by Mark Fisher
parent dfd039b78e
commit 43f60dae08
22 changed files with 51 additions and 61 deletions

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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 {