Skip to content

Commit

Permalink
Ignore false positive NP checks in try-with-resources
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoenisch committed Mar 9, 2020
1 parent 68c57f1 commit 859f726
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .mvn/spotbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@
<!-- Ignore NP checks for all Launcher.getChannel() calls -->
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
</Match>
<!-- Ignore false positive NP checks in try-with-resources: https://github.com/spotbugs/spotbugs/issues/259 -->
<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
</Match>
</FindBugsFilter>

0 comments on commit 859f726

Please sign in to comment.