From 705b54cb3576c9cd721058ecc3302cb036287109 Mon Sep 17 00:00:00 2001 From: Jeremy Norris Date: Mon, 17 Jul 2023 06:21:01 -0500 Subject: [PATCH] Eliminate KeyPair's public constructor since it cannot be meaningfully used by consumers. --- src/main/java/com/jcraft/jsch/KeyPair.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/jcraft/jsch/KeyPair.java b/src/main/java/com/jcraft/jsch/KeyPair.java index cd258739..7e29f888 100644 --- a/src/main/java/com/jcraft/jsch/KeyPair.java +++ b/src/main/java/com/jcraft/jsch/KeyPair.java @@ -117,10 +117,6 @@ public void setPublicKeyComment(String publicKeyComment) { private byte[] passphrase; - public KeyPair(JSch jsch) { - this(jsch.instLogger); - } - KeyPair(JSch.InstanceLogger instLogger) { this.instLogger = instLogger; }