-
-
Notifications
You must be signed in to change notification settings - Fork 251
/
spotbugs-filter.xml
109 lines (98 loc) · 3.21 KB
/
spotbugs-filter.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Nextcloud Talk application
~
~ @author Mario Danic
~ @author Andy Scherzinger
~ @author Tim Krüger
~ Copyright (C) 2021 Tim Krüger <[email protected]>
~ Copyright (C) 2021 Andy Scherzinger <[email protected]>
~ Copyright (C) 2017-2019 Mario Danic <[email protected]>
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<FindBugsFilter>
<Match>
<Class name="~.*\.Manifest\$.*" />
</Match>
<Match>
<Class name="~.*\.R\$.*" />
</Match>
<Match>
<Class name="~.*\$\$Parcelable.*" />
</Match>
<!-- Room code is autogenerated. Exclude it from Check. -->
<Match>
<Class name="~.*\.TalkDatabase_Impl.*" />
</Match>
<Match>
<Class name="~.*\.UsersDao_Impl.*" />
</Match>
<Match>
<Class name="~.*\.ArbitraryStoragesDao_Impl.*" />
</Match>
<!-- JSON/Data classes with generated accessor methods -->
<Match>
<Class name="~com\.nextcloud\.talk\.models\.json\.push.*" />
</Match>
<!-- Dagger code is autogenerated. Exclude it from Check. -->
<Match>
<Or>
<Class name="~.*\.Dagger.*" />
<Class name="~~.*\.dagger\.android\..*" />
<Class name="~~.*\.dagger\.modules\..*" />
</Or>
</Match>
<!-- Dagger generated code uses internal APIs -->
<Match>
<Or>
<Class name="~.*\..*.*Factory" />
<Class name="~.*\..*.*Factory_Impl" />
</Or>
<Bug pattern="IICU_INCORRECT_INTERNAL_CLASS_USE" />
</Match>
<!-- Data bindings autogenerated classes -->
<Match>
<Or>
<Class name="~.*BindingImpl" />
<Class name="~.*\.DataBinderMapperImpl" />
<Class name="~.*Binding" />
</Or>
</Match>
<!-- Ignore generated JsonObjectMapper -->
<Match>
<Class name="~.*\$\$JsonObjectMapper.*" />
</Match>
<!-- Third-party library code -->
<Match>
<Or>
<Package name="~third\.parties\..*" />
</Or>
</Match>
<Bug pattern="PATH_TRAVERSAL_IN" />
<Bug pattern="ANDROID_EXTERNAL_FILE_ACCESS" />
<Bug pattern="BAS_BLOATED_ASSIGNMENT_SCOPE" />
<Bug pattern="IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID" />
<Bug pattern="EI_EXPOSE_REP" />
<Bug pattern="EI_EXPOSE_REP2" />
<!-- This is unmanageable for now due to large amount of interconnected static state -->
<Bug pattern="FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY" />
<!--Autogenerated Room classes-->
<Match>
<Class name="~.*\.TalkDatabase_Impl.*" />
</Match>
<Match>
<Class name="~.*\..*Dao_Impl.*" />
</Match>
</FindBugsFilter>