From be905b2976ff933fb614b127748076cd53da7c71 Mon Sep 17 00:00:00 2001 From: LamGC Date: Thu, 19 Aug 2021 19:04:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4=E6=9E=84?= =?UTF-8?q?=E9=80=A0=E6=96=B9=E6=B3=95=E8=AE=BF=E9=97=AE=E6=9D=83.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 最小化开放权限. --- .../lamgc/oracle/sentry/oci/compute/ssh/CommandExecSession.java | 2 +- .../sentry/oci/compute/ssh/OracleInstanceServerKeyVerifier.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/lamgc/oracle/sentry/oci/compute/ssh/CommandExecSession.java b/src/main/java/net/lamgc/oracle/sentry/oci/compute/ssh/CommandExecSession.java index 03e82a1..ffea763 100644 --- a/src/main/java/net/lamgc/oracle/sentry/oci/compute/ssh/CommandExecSession.java +++ b/src/main/java/net/lamgc/oracle/sentry/oci/compute/ssh/CommandExecSession.java @@ -19,7 +19,7 @@ public final class CommandExecSession implements Closeable { private final ChannelExec channelExec; - public CommandExecSession(ChannelExec channelExec) { + CommandExecSession(ChannelExec channelExec) { this.channelExec = channelExec; } diff --git a/src/main/java/net/lamgc/oracle/sentry/oci/compute/ssh/OracleInstanceServerKeyVerifier.java b/src/main/java/net/lamgc/oracle/sentry/oci/compute/ssh/OracleInstanceServerKeyVerifier.java index 45373ea..a2b0cb9 100644 --- a/src/main/java/net/lamgc/oracle/sentry/oci/compute/ssh/OracleInstanceServerKeyVerifier.java +++ b/src/main/java/net/lamgc/oracle/sentry/oci/compute/ssh/OracleInstanceServerKeyVerifier.java @@ -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; }