mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 00:00:54 +03:00
Have newStatefulSFTPClient return StatefulSFTPClient (#876)
This commit is contained in:
@@ -742,7 +742,7 @@ public class SSHClient
|
|||||||
*
|
*
|
||||||
* @throws IOException if there is an error starting the {@code sftp} subsystem
|
* @throws IOException if there is an error starting the {@code sftp} subsystem
|
||||||
*/
|
*/
|
||||||
public SFTPClient newStatefulSFTPClient()
|
public StatefulSFTPClient newStatefulSFTPClient()
|
||||||
throws IOException {
|
throws IOException {
|
||||||
checkConnected();
|
checkConnected();
|
||||||
checkAuthenticated();
|
checkAuthenticated();
|
||||||
|
|||||||
Reference in New Issue
Block a user