Skip to content

Commit 752e808

Browse files
committed
- adds spotbugs exclusions
1 parent b8c4236 commit 752e808

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jacoco {
3434
}
3535

3636
spotbugsMain {
37+
excludeFilter = file("spotBugsExcludeFilter.xml")
3738
reports {
3839
html {
3940
enabled = true
@@ -44,6 +45,7 @@ spotbugsMain {
4445
}
4546

4647
spotbugsTest {
48+
excludeFilter = file("spotBugsExcludeFilter.xml")
4749
reports {
4850
html {
4951
enabled = true

spotBugsExcludeFilter.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<FindBugsFilter
3+
xmlns="https://github.com/spotbugs/filter/3.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
6+
<Match>
7+
<Class name="com.microsoft.graph.authentication.BaseAuthenticationProviderTest" />
8+
<Method name="providerDoesNotAddTokenOnNullUrls" />
9+
<Bug code="NP" />
10+
</Match>
11+
<Match>
12+
<Class name="com.microsoft.graph.concurrency.ChunkedUploadRequest" />
13+
<Bug code="Dm" />
14+
</Match>
15+
<Match>
16+
<Class name="com.microsoft.graph.concurrency.ChunkedUploadResponseHandler" />
17+
<Method name="generateResult" />
18+
<Bug code="RCN,NP" />
19+
</Match>
20+
</FindBugsFilter>

0 commit comments

Comments
 (0)