diff --git a/pgpainless-core/src/main/java/org/pgpainless/exception/NotYetImplementedException.java b/pgpainless-core/src/main/java/org/pgpainless/exception/NotYetImplementedException.java deleted file mode 100644 index 72f9b569..00000000 --- a/pgpainless-core/src/main/java/org/pgpainless/exception/NotYetImplementedException.java +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-FileCopyrightText: 2021 Paul Schaub -// -// SPDX-License-Identifier: Apache-2.0 - -package org.pgpainless.exception; - -/** - * Method that gets thrown if the user requests some functionality which is not yet implemented. - */ -public class NotYetImplementedException extends RuntimeException { - -} diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/util/KeyRingUtils.java b/pgpainless-core/src/main/java/org/pgpainless/key/util/KeyRingUtils.java index 8306db34..21c5b575 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/util/KeyRingUtils.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/util/KeyRingUtils.java @@ -26,7 +26,6 @@ import org.bouncycastle.openpgp.PGPSecretKeyRingCollection; import org.bouncycastle.openpgp.PGPSignature; import org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector; import org.pgpainless.PGPainless; -import org.pgpainless.exception.NotYetImplementedException; import org.pgpainless.implementation.ImplementationFactory; import org.pgpainless.key.protection.SecretKeyRingProtector; import org.pgpainless.key.protection.UnlockSecretKey; @@ -354,8 +353,6 @@ public final class KeyRingUtils { /** * Inject a {@link PGPPublicKey} into the given key ring. * - * Note: Right now this method is broken and will throw a {@link NotYetImplementedException}. - * * @param keyRing key ring * @param publicKey public key * @param either {@link PGPPublicKeyRing} or {@link PGPSecretKeyRing}