github-advanced-security[bot] commented on code in PR #3745:
URL: https://github.com/apache/avro/pull/3745#discussion_r3170855832
##########
lang/java/avro/src/main/java/org/apache/avro/SystemLimitException.java:
##########
@@ -89,6 +104,35 @@
return i;
}
+ /**
+ * Get a long value stored in a system property, used to configure the system
+ * behaviour of output.
+ *
+ * @param property The system property to fetch
+ * @param defaultValue The value to use if the system property is not
present or
+ * parsable as an int
+ * @return The value from the system property
+ */
+ private static long getLongLimitFromProperty(String property, long
defaultValue) {
Review Comment:
## CodeQL / Useless parameter
The parameter 'property' is never used.
[Show more
details](https://github.com/apache/avro/security/code-scanning/3359)
##########
lang/java/avro/src/main/java/org/apache/avro/SystemLimitException.java:
##########
@@ -89,6 +104,35 @@
return i;
}
+ /**
+ * Get a long value stored in a system property, used to configure the system
+ * behaviour of output.
+ *
+ * @param property The system property to fetch
+ * @param defaultValue The value to use if the system property is not
present or
+ * parsable as an int
+ * @return The value from the system property
+ */
+ private static long getLongLimitFromProperty(String property, long
defaultValue) {
Review Comment:
## CodeQL / Useless parameter
The parameter 'defaultValue' is never used.
[Show more
details](https://github.com/apache/avro/security/code-scanning/3360)
--
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]