From cab513773d4f4594624a7d9ed52b8863e9e86c76 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 5 Aug 2018 12:23:09 +0200 Subject: [PATCH] Add @SuppressWarnings("deprecation") to BCUtilTest --- pgpainless-core/src/test/java/org/pgpainless/BCUtilTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pgpainless-core/src/test/java/org/pgpainless/BCUtilTest.java b/pgpainless-core/src/test/java/org/pgpainless/BCUtilTest.java index 3e8dea69..587b7362 100644 --- a/pgpainless-core/src/test/java/org/pgpainless/BCUtilTest.java +++ b/pgpainless-core/src/test/java/org/pgpainless/BCUtilTest.java @@ -106,6 +106,7 @@ public class BCUtilTest extends AbstractPGPainlessTest { @Test public void removeUnsignedKeysTest() throws PGPException, NoSuchAlgorithmException, NoSuchProviderException, InvalidAlgorithmParameterException { + @SuppressWarnings("deprecation") PGPKeyRing alice = PGPainless.generateKeyRing().simpleRsaKeyRing("alice@wonderland.lit", RsaLength._1024); PGPKeyRing mallory = PGPainless.generateKeyRing().simpleEcKeyRing("mallory@mall.ory");