uber / NullAway

A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead
MIT License
3.62k stars 290 forks source link

Enable UnnecessaryFinal and PreferredInterfaceType EP checks #991

Closed msridhar closed 2 months ago

msridhar commented 2 months ago

Autofix extant issues. This PR should have no impact on runtime behavior.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 95.45455% with 3 lines in your changes missing coverage. Please review.

Project coverage is 85.94%. Comparing base (a3b94e9) to head (1587fd8).

Files Patch % Lines
.../uber/nullaway/libmodel/LibraryModelGenerator.java 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #991 +/- ## ============================================ - Coverage 85.95% 85.94% -0.01% Complexity 2070 2070 ============================================ Files 83 83 Lines 6863 6866 +3 Branches 1319 1319 ============================================ + Hits 5899 5901 +2 - Misses 550 551 +1 Partials 414 414 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.