mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
remove Collections.synchronized
This commit is contained in:
@@ -43,12 +43,12 @@ public class FCollection<T> implements List<T>, /*Set<T>,*/ FCollectionView<T>,
|
|||||||
/**
|
/**
|
||||||
* The {@link Set} representation of this collection.
|
* The {@link Set} representation of this collection.
|
||||||
*/
|
*/
|
||||||
private final Set<T> set = Collections.synchronizedSet(new HashSet<>());
|
private final Set<T> set = new HashSet<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The {@link List} representation of this collection.
|
* The {@link List} representation of this collection.
|
||||||
*/
|
*/
|
||||||
private final List<T> list = Collections.synchronizedList(new ArrayList<>());
|
private final List<T> list = new ArrayList<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an empty {@link FCollection}.
|
* Create an empty {@link FCollection}.
|
||||||
|
|||||||
Reference in New Issue
Block a user