Add @SuppressWarnings("deprecation") to BCUtilTest

This commit is contained in:
Florian Schmaus 2018-08-05 12:23:09 +02:00
parent d869bc8c8b
commit cab513773d
1 changed files with 1 additions and 0 deletions

View File

@ -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");