As suggested in LUCENE-3973, we could add findbugs as a precommit hook if we get the number of issues reported down to zero.
Findbugs bug fixes
Patch to address "boxing/unboxing to parse a primitive"; removes unneeded heap allocations when parsing strings. Should be fairly easy to review, as the new version is functionally equivalent.
Missed source .jj files in the original patch, updating.
Commit e7b87f5b79f744252bca79356c2bcdeaed503e74 in lucene-solr's branch refs/heads/master from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e7b87f5 ]
LUCENE-7739: Fix places where we unnecessarily boxed while parsing a numeric value according to FindBugs
Commit 2f939af2cc8d00392d5bb76aa0374d489296c4a6 in lucene-solr's branch refs/heads/branch_6x from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2f939af ]
Thanks Daniel Jelinski, I pushed this; but we still need to fold this into ant precommit somehow.