修正sftp.cd方法 方法注释和实际效果不符

This commit is contained in:
Looly
2022-11-28 13:57:32 +08:00
parent c0b6c69497
commit 6689c2d86d
2 changed files with 2 additions and 1 deletions

View File

@@ -390,7 +390,7 @@ public class Sftp extends AbstractFtp {
}
/**
* 打开指定目录,如果指定路径非目录或不存在返回false
* 打开指定目录,如果指定路径非目录或不存在抛出异常
*
* @param directory directory
* @return 是否打开目录