Skip to content

Commit

Permalink
make exclude definitions windows compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
xzel23 committed Nov 18, 2023
1 parent bb2a53d commit 1aafc2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spotbugs-exclude.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<FindBugsFilter>
<!-- do not check these in test code -->
<Match>
<Source name="~.*/test/java/.*"/>
<Source name="~.*[/\\]test[/\\]java[/\\].*"/>
<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>
Expand Down

0 comments on commit 1aafc2d

Please sign in to comment.