mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 22:32:07 +01:00
Wildcard Selection Strategy: make inner classes static
This commit is contained in:
parent
6679c1bf3f
commit
2e3a435d4e
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ import org.pgpainless.key.selection.keyring.SecretKeyRingSelectionStrategy;
|
||||||
|
|
||||||
public class Wildcard {
|
public class Wildcard {
|
||||||
|
|
||||||
public class PubRingSelectionStrategy<O> extends PublicKeyRingSelectionStrategy<O> {
|
public static class PubRingSelectionStrategy<O> extends PublicKeyRingSelectionStrategy<O> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean accept(O identifier, PGPPublicKeyRing keyRing) {
|
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
|
@Override
|
||||||
public boolean accept(O identifier, PGPSecretKeyRing keyRing) {
|
public boolean accept(O identifier, PGPSecretKeyRing keyRing) {
|
||||||
|
|
Loading…
Reference in a new issue