Skip to content

Commit

Permalink
exclude a few corner cases for spotbugs from generated code (Azure#16665
Browse files Browse the repository at this point in the history
)
  • Loading branch information
weidongxu-microsoft authored Oct 22, 2020
1 parent 9480127 commit aefa6ec
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2233,6 +2233,14 @@
<Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
</Match>

<!-- Exclude for Fluent Lite generated code -->
<Match>
<Or>
<Package name="~com\.azure\.resourcemanager(\.[^.]+)*\.generated(\.[^.]+)*"/>
</Or>
<Bug pattern="NP_LOAD_OF_KNOWN_NULL_VALUE,SIC_INNER_SHOULD_BE_STATIC_ANON,SKIPPED_CLASS_TOO_BIG,UPM_UNCALLED_PRIVATE_METHOD"/>
</Match>

<!-- Exclude from spring related classes -->
<Match>
<Or>
Expand Down

0 comments on commit aefa6ec

Please sign in to comment.