msfroh opened a new pull request, #14221: URL: https://github.com/apache/lucene/pull/14221
### Description Following up on https://github.com/apache/lucene/issues/14151 and https://github.com/apache/lucene/issues/14152, I decided to grep for other `public static` non-`final` variables in the Lucene codebase. This change makes `static`s `final` where it is both possible and seems appropriate. (That is, the variables really do seem to be constants.) I made a couple `private` instead, since they are modified, but privately. I also updated some old-school code where IntelliJ flagged opportunities to use newer Java idioms. -- 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