mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
add toStrin
This commit is contained in:
parent
81cb7fb660
commit
355dc15aad
@ -8,6 +8,7 @@
|
||||
### 新特性
|
||||
* 【core 】 增加NetUtil.isOpen方法
|
||||
* 【core 】 增加ThreadUtil.sleep和safeSleep的重载
|
||||
* 【core 】 Sftp类增加toString方法(issue#I1F2T4@Gitee)
|
||||
|
||||
### Bug修复
|
||||
* 【db 】 修复PageResult.isLast计算问题
|
||||
|
@ -408,6 +408,15 @@ public class Sftp extends AbstractFtp {
|
||||
JschUtil.close(this.session);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Sftp{" +
|
||||
"host='" + host + '\'' +
|
||||
", port=" + port +
|
||||
", user='" + user + '\'' +
|
||||
'}';
|
||||
}
|
||||
|
||||
/**
|
||||
* JSch支持的三种文件传输模式
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user