Skip to content

Commit 678ff47

Browse files
authored
Remove unused variable in JsonNodeUtil (#566)
1 parent 4906d90 commit 678ff47

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/networknt/schema/utils/JsonNodeUtil.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public static boolean equalsToSchemaType(JsonNode node, JsonType schemaType, Jso
8383
return true;
8484
}
8585

86-
ValidatorState state = (ValidatorState) CollectorContext.getInstance().get(ValidatorState.VALIDATOR_STATE_KEY);
8786
if(JsonType.NULL.equals(nodeType)) {
8887
if(parentSchema != null) {
8988
if( parentSchema.getParentSchema() != null && JsonNodeUtil.isNodeNullable(parentSchema.getParentSchema().getSchemaNode(), config) || JsonNodeUtil.isNodeNullable(parentSchema.getSchemaNode()) ) {

0 commit comments

Comments
 (0)