Skip to content

Commit

Permalink
update spotbugs-exclude.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xzel23 committed Nov 18, 2023
1 parent 83e36ea commit 9dafc9c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions spotbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<Or>
<Bug pattern="THROWS_METHOD_THROWS_CLAUSE_THROWABLE"/>
<Bug pattern="THROWS_METHOD_THROWS_CLAUSE_BASIC_EXCEPTION"/>
<!-- this inspection is triggered when using AssertThrows in JUnit tests -->
<Bug pattern="RV_EXCEPTION_NOT_THROWN"/>
</Or>
</Match>

Expand Down Expand Up @@ -32,12 +34,6 @@
<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 9dafc9c

Please sign in to comment.