-
Notifications
You must be signed in to change notification settings - Fork 7
/
spotbugs-filters.xml
51 lines (39 loc) · 1.42 KB
/
spotbugs-filters.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<FindBugsFilter>
<!-- ignore errors about missing serial version ids -->
<Match>
<Bug pattern="SE_NO_SERIALVERSIONID" />
</Match>
<!-- not internationalized at this point -->
<Match>
<Bug pattern="DM_CONVERT_CASE" />
</Match>
<!-- spotbugs issue with JDK 11+ https://github.com/spotbugs/spotbugs/issues/756 -->
<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
</Match>
<!-- spotbugs issue with JDK 11+ https://github.com/spotbugs/spotbugs/issues/868 -->
<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE" />
</Match>
<!-- spotbugs issue https://github.com/spotbugs/spotbugs/issues/811 -->
<Match>
<Bug pattern="UPM_UNCALLED_PRIVATE_METHOD" />
</Match>
<!-- TODO: ignore exposing of internal state for now, but may want to
change this later -->
<Match>
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<Match>
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
<!-- This was introduced in SpotBugs 4.5.0 and isn't something I'm really
worried about. The checker framework catches most of my concerns here. -->
<Match>
<Bug pattern="MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR" />
</Match>
<!-- This is more of a concern in a high security application or API -->
<Match>
<Bug pattern="CT_CONSTRUCTOR_THROW" />
</Match>
</FindBugsFilter>