From 25cde8225d8fd6d929ffad7a00017220430f58c6 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Thu, 8 Jun 2023 03:18:24 +0200 Subject: [PATCH] Remove outdated javadoc @throws annotations --- .../modification/secretkeyring/SecretKeyRingEditorInterface.java | 1 - .../src/main/java/org/pgpainless/signature/SignatureUtils.java | 1 - 2 files changed, 2 deletions(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/modification/secretkeyring/SecretKeyRingEditorInterface.java b/pgpainless-core/src/main/java/org/pgpainless/key/modification/secretkeyring/SecretKeyRingEditorInterface.java index 712193ee..f09f25f3 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/modification/secretkeyring/SecretKeyRingEditorInterface.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/modification/secretkeyring/SecretKeyRingEditorInterface.java @@ -179,7 +179,6 @@ public interface SecretKeyRingEditorInterface { * * @throws PGPException in case we cannot generate a binding signature for the subkey * @throws IOException in case of an IO error - * @throws NoSuchAlgorithmException in case of missing algorithm support in the crypto backend */ SecretKeyRingEditorInterface addSubKey( @Nonnull PGPKeyPair subkey, diff --git a/pgpainless-core/src/main/java/org/pgpainless/signature/SignatureUtils.java b/pgpainless-core/src/main/java/org/pgpainless/signature/SignatureUtils.java index a232dbab..d64f977c 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/signature/SignatureUtils.java +++ b/pgpainless-core/src/main/java/org/pgpainless/signature/SignatureUtils.java @@ -241,7 +241,6 @@ public final class SignatureUtils { * @param maxIterations number of loop iterations until reading is aborted * @return list of encountered signatures * @throws IOException in case of a stream error - * @throws PGPException in case of an OpenPGP error */ public static List readSignatures(InputStream inputStream, int maxIterations) throws IOException { List signatures = new ArrayList<>();