We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4906d90 commit 678ff47Copy full SHA for 678ff47
1 file changed
src/main/java/com/networknt/schema/utils/JsonNodeUtil.java
@@ -83,7 +83,6 @@ public static boolean equalsToSchemaType(JsonNode node, JsonType schemaType, Jso
83
return true;
84
}
85
86
- ValidatorState state = (ValidatorState) CollectorContext.getInstance().get(ValidatorState.VALIDATOR_STATE_KEY);
87
if(JsonType.NULL.equals(nodeType)) {
88
if(parentSchema != null) {
89
if( parentSchema.getParentSchema() != null && JsonNodeUtil.isNodeNullable(parentSchema.getParentSchema().getSchemaNode(), config) || JsonNodeUtil.isNodeNullable(parentSchema.getSchemaNode()) ) {
0 commit comments