github-advanced-security[bot] commented on code in PR #20830:
URL: https://github.com/apache/druid/pull/20830#discussion_r4465024262
##########
processing/src/main/java/org/apache/druid/query/BadJsonQueryException.java:
##########
@@ -75,4 +81,13 @@
}
return "Invalid native query: " + errorMessage;
}
+
+ private static String getErrorMessage(JsonMappingException e)
Review Comment:
## CodeQL / Confusing overloading of methods
Method BadJsonQueryException.getErrorMessage(..) could be confused with
overloaded method [getErrorMessage](1), since dispatch depends on static types.
[Show more
details](https://github.com/apache/druid/security/code-scanning/12143)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]