github-code-scanning[bot] commented on code in PR #1922:
URL: https://github.com/apache/avro/pull/1922#discussion_r1000466485
##########
lang/java/avro/src/main/java/org/apache/avro/Schema.java:
##########
@@ -1238,6 +1238,16 @@
}
}
+ /**
+ * Checks if a JSON value matches the schema.
+ *
+ * @param jsonValue a value to check against the schema
+ * @return true if the value is valid according to this schema
+ */
+ public boolean isValidDefault(JsonNode jsonValue) {
Review Comment:
## Missing Override annotation
This method overrides [Schema.isValidDefault](1); it is advisable to add an
Override annotation.
[Show more
details](https://github.com/apache/avro/security/code-scanning/2922)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]