mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-11 16:26:22 +00:00
KeywordCollection: Use linkedHashSetValues to prevent duplicates (#8941)
This commit is contained in:
@@ -15,7 +15,7 @@ public class KeywordCollection implements Iterable<KeywordInterface> {
|
||||
private transient KeywordCollectionView view;
|
||||
// don't use enumKeys it causes a slow down
|
||||
private final Multimap<Keyword, KeywordInterface> map = MultimapBuilder.hashKeys()
|
||||
.arrayListValues().build();
|
||||
.linkedHashSetValues().build();
|
||||
|
||||
public KeywordCollection() {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user