File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/main/java/com/networknt/schema Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1919import java .util .ArrayDeque ;
2020import java .util .ArrayList ;
2121import java .util .HashMap ;
22- import java .util .LinkedList ;
2322import java .util .List ;
2423import java .util .Map ;
2524import java .util .function .Consumer ;
@@ -45,18 +44,18 @@ public class ExecutionContext {
4544 private final Map <NodePath , DiscriminatorState > discriminatorMapping = new HashMap <>();
4645
4746 final ArrayDeque <Object > evaluationPath = new ArrayDeque <>(64 );
48- final LinkedList <Schema > evaluationSchema = new LinkedList <>();
49- final LinkedList <Object > evaluationSchemaPath = new LinkedList <>();
47+ final ArrayDeque <Schema > evaluationSchema = new ArrayDeque <>(64 );
48+ final ArrayDeque <Object > evaluationSchemaPath = new ArrayDeque <>(64 );
5049
5150 public ArrayDeque <Object > getEvaluationPath () {
5251 return evaluationPath ;
5352 }
5453
55- public LinkedList <Schema > getEvaluationSchema () {
54+ public ArrayDeque <Schema > getEvaluationSchema () {
5655 return evaluationSchema ;
5756 }
5857
59- public LinkedList <Object > getEvaluationSchemaPath () {
58+ public ArrayDeque <Object > getEvaluationSchemaPath () {
6059 return evaluationSchemaPath ;
6160 }
6261
You can’t perform that action at this time.
0 commit comments