mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-23 03:17:58 +01:00
Fix checkstyle issues
This commit is contained in:
parent
374e6452f0
commit
d3f412873b
1 changed files with 2 additions and 2 deletions
|
@ -449,9 +449,9 @@ public final class KeyRingUtils {
|
|||
*/
|
||||
@Nonnull
|
||||
public static PGPSecretKeyRing stripSecretKey(@Nonnull PGPSecretKeyRing secretKeys,
|
||||
long secretKeyId)
|
||||
long secretKeyId)
|
||||
throws IOException, PGPException {
|
||||
|
||||
|
||||
if (secretKeys.getPublicKey().getKeyID() == secretKeyId) {
|
||||
throw new IllegalArgumentException("Bouncy Castle currently cannot deal with stripped secret primary keys.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue