Skip to content

Commit

Permalink
exclude some inspections
Browse files Browse the repository at this point in the history
  • Loading branch information
xzel23 committed Nov 10, 2023
1 parent f395508 commit e21966f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions spotbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@
<Bug pattern="DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED"/>
</Match>

<!-- Do not run these inspections -->
<Match>
<Bug pattern="CT_CONSTRUCTOR_THROW"/>
</Match>
<Match>
<Bug pattern="PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES"/>
</Match>

<!-- this inspection is triggered when using AssertThrows in JUnit tests -->
<Match>
<Source name="~.*/test/java/.*"/>
<Bug pattern="RV_EXCEPTION_NOT_THROWN"/>
</Match>

<!-- by design -->
<Match>
<Class name="com.dua3.utility.db.NamedParameterStatement"/>
Expand Down

0 comments on commit e21966f

Please sign in to comment.