1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-22 20:32:05 +01:00

Wildcard Selection Strategy: make inner classes static

This commit is contained in:
Paul Schaub 2020-01-09 19:58:52 +01:00
parent 6679c1bf3f
commit 2e3a435d4e
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -22,7 +22,7 @@ import org.pgpainless.key.selection.keyring.SecretKeyRingSelectionStrategy;
public class Wildcard {
public class PubRingSelectionStrategy<O> extends PublicKeyRingSelectionStrategy<O> {
public static class PubRingSelectionStrategy<O> extends PublicKeyRingSelectionStrategy<O> {
@Override
public boolean accept(O identifier, PGPPublicKeyRing keyRing) {
@ -30,7 +30,7 @@ public class Wildcard {
}
}
public class SecRingSelectionStrategy<O> extends SecretKeyRingSelectionStrategy<O> {
public static class SecRingSelectionStrategy<O> extends SecretKeyRingSelectionStrategy<O> {
@Override
public boolean accept(O identifier, PGPSecretKeyRing keyRing) {