From 2e3a435d4e6e2b55494cb18cf91dee091289013c Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Thu, 9 Jan 2020 19:58:52 +0100 Subject: [PATCH] Wildcard Selection Strategy: make inner classes static --- .../org/pgpainless/key/selection/keyring/impl/Wildcard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/selection/keyring/impl/Wildcard.java b/pgpainless-core/src/main/java/org/pgpainless/key/selection/keyring/impl/Wildcard.java index 2528321a..8a373ffa 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/selection/keyring/impl/Wildcard.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/selection/keyring/impl/Wildcard.java @@ -22,7 +22,7 @@ import org.pgpainless.key.selection.keyring.SecretKeyRingSelectionStrategy; public class Wildcard { - public class PubRingSelectionStrategy extends PublicKeyRingSelectionStrategy { + public static class PubRingSelectionStrategy extends PublicKeyRingSelectionStrategy { @Override public boolean accept(O identifier, PGPPublicKeyRing keyRing) { @@ -30,7 +30,7 @@ public class Wildcard { } } - public class SecRingSelectionStrategy extends SecretKeyRingSelectionStrategy { + public static class SecRingSelectionStrategy extends SecretKeyRingSelectionStrategy { @Override public boolean accept(O identifier, PGPSecretKeyRing keyRing) {