diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/selection/keyring/impl/Whitelist.java b/pgpainless-core/src/main/java/org/pgpainless/key/selection/keyring/impl/Whitelist.java index 6a894122..6899941d 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/selection/keyring/impl/Whitelist.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/selection/keyring/impl/Whitelist.java @@ -35,7 +35,7 @@ public class Whitelist { } public PubRingSelectionStrategy(Map> whitelist) { - this.whitelist = new MultiMap<>(whitelist); + this(new MultiMap<>(whitelist)); } @Override @@ -59,7 +59,7 @@ public class Whitelist { } public SecRingSelectionStrategy(Map> whitelist) { - this.whitelist = new MultiMap<>(whitelist); + this(new MultiMap<>(whitelist)); } @Override