From 5af9e09a87cc120e2f2da4fadc6b04685f96dda0 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 22 Jun 2022 22:08:13 +0700 Subject: Code cleanup --- crypto/test/src/openpgp/examples/DirectKeySignature.cs | 6 +++--- crypto/test/src/openpgp/test/PgpUnicodeTest.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/test/src/openpgp') diff --git a/crypto/test/src/openpgp/examples/DirectKeySignature.cs b/crypto/test/src/openpgp/examples/DirectKeySignature.cs index 3926a787b..c36bba996 100644 --- a/crypto/test/src/openpgp/examples/DirectKeySignature.cs +++ b/crypto/test/src/openpgp/examples/DirectKeySignature.cs @@ -57,11 +57,11 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Examples // gather command line arguments PgpSecretKeyRing secRing = new PgpSecretKeyRing( PgpUtilities.GetDecoderStream(secFis)); - String secretKeyPass = args[1]; + string secretKeyPass = args[1]; PgpPublicKeyRing ring = new PgpPublicKeyRing( PgpUtilities.GetDecoderStream(pubFis)); - String notationName = args[3]; - String notationValue = args[4]; + string notationName = args[3]; + string notationValue = args[4]; // create the signed keyRing PgpPublicKeyRing sRing = null; diff --git a/crypto/test/src/openpgp/test/PgpUnicodeTest.cs b/crypto/test/src/openpgp/test/PgpUnicodeTest.cs index d73e3d7a6..afc0d1cbc 100644 --- a/crypto/test/src/openpgp/test/PgpUnicodeTest.cs +++ b/crypto/test/src/openpgp/test/PgpUnicodeTest.cs @@ -55,7 +55,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Tests // byte[] password = new byte[passwordFile.available()]; // passwordFile.read(password); // passwordFile.close(); - // String passphrase = new String(password); + // string passphrase = new string(password); DoTestKey(keyId, passphrase, true); -- cgit 1.5.1