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

Fix crash with suggested suppressions in JSpecify mode #1001

Closed msridhar closed 1 month ago

msridhar commented 1 month ago

We were calling the wrong overload and hence accidentally passing an incorrect tree on which to apply a @SuppressWarnings annotation.

Fixes #996

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.95%. Comparing base (e0718a8) to head (2ec1a32).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1001 +/- ## ========================================= Coverage 85.95% 85.95% Complexity 2073 2073 ========================================= Files 83 83 Lines 6873 6873 Branches 1322 1322 ========================================= Hits 5908 5908 Misses 551 551 Partials 414 414 ```

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