Skip to content

Commit

Permalink
Eliminate KeyPair's public constructor since it cannot be meaningfull…
Browse files Browse the repository at this point in the history
…y used by consumers.
  • Loading branch information
norrisjeremy committed Jul 17, 2023
1 parent ae1e4f6 commit 705b54c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/com/jcraft/jsch/KeyPair.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 705b54c

Please sign in to comment.