This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git

commit 7b96a6f8a85ba6dcb22792962a868276dbdefb5e
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu May 30 10:59:49 2024 -0400

    Remove unused exception from test signature
---
 .../java/org/apache/sshd/openpgp/PGPKeyPairResourceParserTest.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/sshd-openpgp/src/test/java/org/apache/sshd/openpgp/PGPKeyPairResourceParserTest.java
 
b/sshd-openpgp/src/test/java/org/apache/sshd/openpgp/PGPKeyPairResourceParserTest.java
index 7ebaeca94..6ca286be2 100644
--- 
a/sshd-openpgp/src/test/java/org/apache/sshd/openpgp/PGPKeyPairResourceParserTest.java
+++ 
b/sshd-openpgp/src/test/java/org/apache/sshd/openpgp/PGPKeyPairResourceParserTest.java
@@ -40,7 +40,6 @@ import org.apache.sshd.common.util.GenericUtils;
 import org.apache.sshd.util.test.JUnit4ClassRunnerWithParametersFactory;
 import org.apache.sshd.util.test.JUnitTestSupport;
 import org.apache.sshd.util.test.NoIoTestCase;
-import org.bouncycastle.openpgp.PGPException;
 import org.junit.FixMethodOrder;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
@@ -140,7 +139,7 @@ public class PGPKeyPairResourceParserTest extends 
JUnitTestSupport {
     }
 
     @Test
-    public void testDecodePrivateKeyPair() throws IOException, 
GeneralSecurityException, PGPException {
+    public void testDecodePrivateKeyPair() throws IOException {
         InputStream stream = getClass().getResourceAsStream(resourceName);
         assertNotNull("Missing " + resourceName, stream);
 

Reply via email to