-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspotbugs-exclude.xml
31 lines (27 loc) · 1.11 KB
/
spotbugs-exclude.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
<FindBugsFilter>
<Match>
<!-- Bugs reported by SpotBugs for automatic injected null checks -->
<Or>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
<Bug pattern="RCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE"/>
<Bug pattern="SA_LOCAL_SELF_ASSIGNMENT" />
</Or>
</Match>
<Match>
<Or>
<Bug pattern="PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES"/>
<Bug pattern="CT_CONSTRUCTOR_THROW"/>
<!-- this bug pattern is currently completely broken / https://github.com/spotbugs/spotbugs/issues/1601 -->
<Bug pattern="EI_EXPOSE_REP"/>
<Bug pattern="EI_EXPOSE_REP2"/>
<Bug pattern="THROWS_METHOD_THROWS_CLAUSE_BASIC_EXCEPTION"/>
<Bug pattern="NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION"/>
</Or>
</Match>
<!-- false positive; the field contains an unmodifiable list -->
<Match>
<Class name="com.dua3.fx.icons.IconView"/>
<Method name="getClassCssMetaData"/>
<Bug pattern="MS_EXPOSE_REP"/>
</Match>
</FindBugsFilter>