INT-1660 added check to validate if jschSession is connected to the SftpSession.isOpen() method

This commit is contained in:
Oleg Zhurakousky
2010-12-06 12:48:10 -05:00
parent f4f0c2ea36
commit b4d22ac021

View File

@@ -128,7 +128,7 @@ class SftpSession implements Session {
}
public boolean isOpen() {
return this.channel.isConnected() && this.jschSession.isConnected();
return this.jschSession.isConnected();
}
}