1
0
mirror of https://gitee.com/dromara/hutool.git synced 2025-04-05 17:37:59 +08:00

修正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
CHANGELOG.md
hutool-extra/src/main/java/cn/hutool/extra/ssh

View File

@ -9,6 +9,7 @@
* 【core 】 CharUtil.isBlankChar增加\u180epr#2738@Github
* 【core 】 SyncFinisher线程同步结束器添加立即结束方法pr#879@Gitee
* 【core 】 HtmlUtil中escape方法增加不断开空格nbsp转译防止xss攻击pr#2755@Github
* 【extra 】 修正sftp.cd方法 方法注释和实际效果不符issue#2758@Github
*
### 🐞Bug修复
* 【json 】 修复普通byte数组转JSONArray时的异常pr#875@Gitee

View File

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