vibhatha opened a new issue, #41951: URL: https://github.com/apache/arrow/issues/41951
### Describe the enhancement requested ErrorProne warnings have been common to functions with a similar signature as follows. ```java private void hist(String noteFormat, Object... args) { if (historicalLog != null) { historicalLog.recordEvent(noteFormat, args); } } ``` And they must be updated as follows. ```java @FormatMethod private void hist(@FormatString String noteFormat, Object... args) { if (historicalLog != null) { historicalLog.recordEvent(noteFormat, args); } } ``` At the moment, this would be suppressed based on the discussion [here](https://github.com/apache/arrow/pull/39777#discussion_r1624545389). But this must be resolved once we support JDK11+. ### Component(s) Java -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org