Join GitHub today
Fix some errorprone warnings and remove duplicates from findbugs targets #5711
The latest errorprone has more warnings than the current version Pants is running on. We also potentially run findbugs on the same target twice.
This cleans up new warnings from errorprone 2.2.0 and removes duplicates from the findbugs targets.
It will reduce the amount of changes in code when we update to errorprone 2.2.0