mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-22 19:08:00 +01:00
Reuse MultiMap constructor of Whitelist selection strategy
This commit is contained in:
parent
8a2051904a
commit
09e0a5360d
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ public class Whitelist {
|
|||
}
|
||||
|
||||
public PubRingSelectionStrategy(Map<O, Set<Long>> whitelist) {
|
||||
this.whitelist = new MultiMap<>(whitelist);
|
||||
this(new MultiMap<>(whitelist));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -59,7 +59,7 @@ public class Whitelist {
|
|||
}
|
||||
|
||||
public SecRingSelectionStrategy(Map<O, Set<Long>> whitelist) {
|
||||
this.whitelist = new MultiMap<>(whitelist);
|
||||
this(new MultiMap<>(whitelist));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue