File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
main/java/com/networknt/schema
test/java/com/networknt/schema Expand file tree Collapse file tree 2 files changed +6
-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 ;
2223import java .util .List ;
2324import java .util .Map ;
2425import java .util .function .Consumer ;
@@ -44,18 +45,18 @@ public class ExecutionContext {
4445 private final Map <NodePath , DiscriminatorState > discriminatorMapping = new HashMap <>();
4546
4647 final ArrayDeque <Object > evaluationPath = new ArrayDeque <>(64 );
47- final ArrayDeque <Schema > evaluationSchema = new ArrayDeque <>(64 );
48- final ArrayDeque <Object > evaluationSchemaPath = new ArrayDeque <>(64 );
48+ final LinkedList <Schema > evaluationSchema = new LinkedList <>();
49+ final LinkedList <Object > evaluationSchemaPath = new LinkedList <>();
4950
5051 public ArrayDeque <Object > getEvaluationPath () {
5152 return evaluationPath ;
5253 }
5354
54- public ArrayDeque <Schema > getEvaluationSchema () {
55+ public LinkedList <Schema > getEvaluationSchema () {
5556 return evaluationSchema ;
5657 }
5758
58- public ArrayDeque <Object > getEvaluationSchemaPath () {
59+ public LinkedList <Object > getEvaluationSchemaPath () {
5960 return evaluationSchemaPath ;
6061 }
6162
Original file line number Diff line number Diff line change 2727import com .networknt .schema .serialization .JsonMapperFactory ;
2828
2929class Issue1091Test {
30+ @ Disabled
3031 @ Test
31- @ Disabled // Disabled as this test takes quite long to run for ci
3232 void testHasAdjacentKeywordInEvaluationPath () throws Exception {
3333 SchemaRegistryConfig config = SchemaRegistryConfig .builder ().cacheRefs (false ).build ();
3434
You can’t perform that action at this time.
0 commit comments