1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-17 18:02:05 +01:00

Remove unused NotYetImplementedException

This commit is contained in:
Paul Schaub 2022-06-20 17:58:27 +02:00
parent 73da2cc889
commit 82ff62b4e6
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 0 additions and 15 deletions

View file

@ -1,12 +0,0 @@
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
//
// 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 {
}

View file

@ -26,7 +26,6 @@ import org.bouncycastle.openpgp.PGPSecretKeyRingCollection;
import org.bouncycastle.openpgp.PGPSignature; import org.bouncycastle.openpgp.PGPSignature;
import org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector; import org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector;
import org.pgpainless.PGPainless; import org.pgpainless.PGPainless;
import org.pgpainless.exception.NotYetImplementedException;
import org.pgpainless.implementation.ImplementationFactory; import org.pgpainless.implementation.ImplementationFactory;
import org.pgpainless.key.protection.SecretKeyRingProtector; import org.pgpainless.key.protection.SecretKeyRingProtector;
import org.pgpainless.key.protection.UnlockSecretKey; import org.pgpainless.key.protection.UnlockSecretKey;
@ -354,8 +353,6 @@ public final class KeyRingUtils {
/** /**
* Inject a {@link PGPPublicKey} into the given key ring. * 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 keyRing key ring
* @param publicKey public key * @param publicKey public key
* @param <T> either {@link PGPPublicKeyRing} or {@link PGPSecretKeyRing} * @param <T> either {@link PGPPublicKeyRing} or {@link PGPSecretKeyRing}