Skip to content

Commit 3c2bd60

Browse files
authored
Disable problematic SpotBugs detectors (#3977)
1 parent d53377a commit 3c2bd60

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

maven/core-unittests/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
<failOnError>false</failOnError>
6464
<xmlOutput>true</xmlOutput>
6565
<xmlOutputDirectory>${project.build.directory}</xmlOutputDirectory>
66+
<excludeFilterFile>${project.basedir}/spotbugs-exclude.xml</excludeFilterFile>
6667
</configuration>
6768
<executions>
6869
<execution>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<FindBugsFilter>
2+
<Match>
3+
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
4+
</Match>
5+
<Match>
6+
<Bug pattern="DM_GC"/>
7+
</Match>
8+
<Match>
9+
<Bug pattern="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE"/>
10+
</Match>
11+
</FindBugsFilter>

0 commit comments

Comments
 (0)