Skip to content

Commit

Permalink
Add some SpotBugs exclusions for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Mar 31, 2024
1 parent 64572c7 commit 409f0cb
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions etc/spotbugs-exclusion-filter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,29 @@
<!-- ${project.groupId}:${project.artifactId}:${project.version} -->
<FindBugsFilter>
<Match>
<Class name="~.*_jmh.*" />
<Class name="~.*_jmh.*" />
</Match>
<Match>
<Bug code="NM" />
<Class name="~.*Assertions.*" />
<Bug code="NM" />
<Class name="~.*Assertions.*" />
</Match>
<Match>
<Bug code="CD" />
<Class name="~.*" />
<Bug code="CD" />
<Class name="~.*" />
</Match>
<Match>
<Class name="~.*Messages" />
<Class name="~.*Messages" />
</Match>
<Match>
<Class name="~.*Assert" />
<Class name="~.*Test.*" />
<Bug pattern="URF_UNREAD_FIELD, UUF_UNUSED_FIELD" />
</Match>
<Match>
<Bug code="UwF, SIC, NP, Dm, UI, RV, DMI, EI, THROWS" />
<Class name="~.*(Test|Benchmark).*" />
<Class name="~.*Assert" />
</Match>
<Match>
<Bug code="UuF, UwF, SIC, NP, Dm, UI, RV, DMI, EI, THROWS" />
<Class name="~.*(Test|Benchmark).*" />
</Match>
<Match>
<Bug category="SECURITY"/>
Expand Down

0 comments on commit 409f0cb

Please sign in to comment.