mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-17 21:51:25 +01: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.io.IOException;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
import java.util.concurrent.CopyOnWriteArrayList;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -54,7 +55,7 @@ public class ConfigNode {
|
|||||||
this.parent = parent;
|
this.parent = parent;
|
||||||
this.value = value;
|
this.value = value;
|
||||||
|
|
||||||
nodeOrder = new ArrayList<>();
|
nodeOrder = new CopyOnWriteArrayList<>();
|
||||||
childNodes = new HashMap<>();
|
childNodes = new HashMap<>();
|
||||||
comment = new ArrayList<>();
|
comment = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user