1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-30 00:02:06 +01:00

SignatureValidityComparator: Remove member order

This commit is contained in:
Paul Schaub 2021-08-15 15:45:20 +02:00
parent 452ee3fb30
commit 6a108cb8c0

View file

@ -28,7 +28,6 @@ import org.bouncycastle.openpgp.PGPSignature;
*/ */
public class SignatureValidityComparator implements Comparator<PGPSignature> { public class SignatureValidityComparator implements Comparator<PGPSignature> {
private final SignatureCreationDateComparator.Order order;
private final SignatureCreationDateComparator creationDateComparator; private final SignatureCreationDateComparator creationDateComparator;
/** /**
@ -44,7 +43,6 @@ public class SignatureValidityComparator implements Comparator<PGPSignature> {
* Still, hard revocations will come first. * Still, hard revocations will come first.
*/ */
public SignatureValidityComparator(SignatureCreationDateComparator.Order order) { public SignatureValidityComparator(SignatureCreationDateComparator.Order order) {
this.order = order;
this.creationDateComparator = new SignatureCreationDateComparator(order); this.creationDateComparator = new SignatureCreationDateComparator(order);
} }