When adding an identity, validate that private key and public key (or… - #1168
AlainKnaff wants to merge 11 commits into
Quality Gate passed
Annotations
Check warning on line 63 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_5&open=AaD5hHlvEf_aNPJeWX_5&pullRequest=1168
Check warning on line 28 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_3&open=AaD5hHlvEf_aNPJeWX_3&pullRequest=1168
Check warning on line 28 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java
sonarqubecloud / SonarCloud Code Analysis
Replace these 3 tests with a single Parameterized one.
See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_2&open=AaD5hHlvEf_aNPJeWX_2&pullRequest=1168
Check warning on line 50 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_4&open=AaD5hHlvEf_aNPJeWX_4&pullRequest=1168
Check warning on line 12 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove redundant visibility modifiers from the methods of this test class.
See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_1&open=AaD5hHlvEf_aNPJeWX_1&pullRequest=1168