mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Added concurrency sort support to ConfigNode
Affects issues: - Fixed #1382
This commit is contained in:
parent
5bdb49007b
commit
975bb64c4c
@ -28,6 +28,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
@ -54,7 +55,7 @@ public class ConfigNode {
|
||||
this.parent = parent;
|
||||
this.value = value;
|
||||
|
||||
nodeOrder = new ArrayList<>();
|
||||
nodeOrder = new CopyOnWriteArrayList<>();
|
||||
childNodes = new HashMap<>();
|
||||
comment = new ArrayList<>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user