rmuir opened a new pull request, #14916: URL: https://github.com/apache/lucene/pull/14916
This check will find some printf-style format problems at compile-time instead of runtime: enable it. Please note: this won't find my original bug yet on #14901, maybe because the file is in `src/java24`. But I tested it works by adding an extra `%s` to a format string in IndexWriter.java and it properly fails the build. I will dig on the `src/java24` issue separately... I suspect we're not running error-prone on these sources. We have hundreds of such format strings in the codebase, many of which might not have perfect test coverage (they are printing), so it is a good check to have. -- 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...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org