Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
ignore codes raised by new spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
apanicker-nflx committed Apr 7, 2022
1 parent c7ab4fd commit 175ca6d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ spotbugsMain {
enabled = true
}
}
excludeFilter = file("spotbugsExclude.xml")
}

pmd {
Expand Down
9 changes: 9 additions & 0 deletions client/spotbugsExclude.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter
xmlns="https://github.com/spotbugs/filter/3.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
<Match>
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2" />
</Match>
</FindBugsFilter>

0 comments on commit 175ca6d

Please sign in to comment.