refactor: 调整构造方法访问权.

最小化开放权限.
This commit is contained in:
LamGC 2021-08-19 19:04:28 +08:00
parent bf29faa9a5
commit be905b2976
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ public final class CommandExecSession implements Closeable {
private final ChannelExec channelExec;
public CommandExecSession(ChannelExec channelExec) {
CommandExecSession(ChannelExec channelExec) {
this.channelExec = channelExec;
}

View File

@ -23,7 +23,7 @@ public class OracleInstanceServerKeyVerifier implements ServerKeyVerifier {
private final ComputeInstance instance;
private final SshAuthInfo info;
public OracleInstanceServerKeyVerifier(ComputeInstance instance, SshAuthInfo info) {
OracleInstanceServerKeyVerifier(ComputeInstance instance, SshAuthInfo info) {
this.instance = instance;
this.info = info;
}