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

ignore codes raised by new spotbugs #2905

Merged
merged 1 commit into from
Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ignore codes raised by new spotbugs
  • Loading branch information
apanicker-nflx committed Apr 7, 2022
commit 175ca6df0cc03caad868c225a63e6d4fd9962081
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>