mirror of
https://github.com/LamGC/Oracle-Sentry.git
synced 2025-04-29 22:27:34 +00:00
refactor: 调整类访问权, 添加文档.
调整以缩小类构造方法访问权.
This commit is contained in:
parent
6d5aea82a4
commit
79d18685e5
@ -15,7 +15,11 @@ public class SshSession implements Closeable {
|
|||||||
|
|
||||||
private final ClientSession clientSession;
|
private final ClientSession clientSession;
|
||||||
|
|
||||||
public SshSession(ClientSession clientSession) {
|
/**
|
||||||
|
* 创建新的 SSH 会话.
|
||||||
|
* @param clientSession 原始 SSH 会话.
|
||||||
|
*/
|
||||||
|
SshSession(ClientSession clientSession) {
|
||||||
this.clientSession = clientSession;
|
this.clientSession = clientSession;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user