forked from jitsi/jitsi-videobridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spotbugs-exclude.xml
39 lines (32 loc) · 933 Bytes
/
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
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<Match>
<!-- Our Packet hierarchy intentionally uses clone() without calling super.clone(). -->
<Bug pattern="CN_IDIOM_NO_SUPER_CALL"/>
</Match>
<Match>
<!-- Internationalization is not a concern. -->
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<Match>
<!-- This seems to get triggered by certain kotlin constructs though they look safe -->
<Bug pattern="BC_BAD_CAST_TO_ABSTRACT_COLLECTION"/>
<Source name="~.*\.kt" />
</Match>
<Match>
<!-- Serialization -->
<Bug pattern="SE_BAD_FIELD"/>
</Match>
<Match>
<!-- Serialization -->
<Bug pattern="SE_BAD_FIELD_STORE"/>
</Match>
<Match>
<!-- Tests have a valid reason to ignore return values (expecting exceptions, etc). -->
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/>
<Or>
<Source name="~.*\.*Test.kt" />
<Source name="~.*\.*Test.java" />
</Or>
</Match>
</FindBugsFilter>