-
Notifications
You must be signed in to change notification settings - Fork 68
/
findbugs-exclude-filter.xml
140 lines (132 loc) · 5.27 KB
/
findbugs-exclude-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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2012 - 2020 Splice Machine, Inc.
~
~ This file is part of Splice Machine.
~ Splice Machine is free software: you can redistribute it and/or modify it under the terms of the
~ GNU Affero General Public License as published by the Free Software Foundation, either
~ version 3, or (at your option) any later version.
~ Splice Machine 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 Affero General Public License for more details.
~ You should have received a copy of the GNU Affero General Public License along with Splice Machine.
~ If not, see <http://www.gnu.org/licenses/>.
-->
<FindBugsFilter>
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Splicemachine findbugs exclusion filter file.
https://spotbugs.readthedocs.io/en/stable/filter.html#source
Most (all?) attribute values can be a regex: start with "~". Period must be escaped in regex string.
Please explain every exclusion with a comment.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
<!--
Exposing internal representation by getting/setting mutable fields.
We often intentionally break this rule for performance.
!-->
<Match>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<Match>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<!--
generated code
!-->
<Match>
<Class name="~com\.splicemachine\.si\.coprocessor\.TxnMessage.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.coprocessor\.SpliceMessage.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.ij.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.CharStream.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.ijConstants.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.ijTokenManager.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.mtGrammar.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.mtGrammarConstants.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.mtGrammarTokenManager.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.SimpleCharStream.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.Token.*"/>
</Match>
<Match>
<Class name="~com\.splicemachine\.db\.impl\.tools\.ij\.TokenMgrError.*"/>
</Match>
<Match>
<!-- generated code for parser -->
<Class name="~com\.splicemachine\.db\.impl\.sql\.misc.*"/>
</Match>
<!-- SpliceConstants: our static fields in are intentionally not final -->
<Match>
<Class name="com.splicemachine.constants.SpliceConstants"/>
<Bug pattern="MS_SHOULD_BE_FINAL"/>
</Match>
<!-- SpliceConstants: our static fields in are intentionally not final -->
<Match>
<Class name="com.splicemachine.constants.SpliceConstants"/>
<Bug pattern="MS_CANNOT_BE_FINAL"/>
</Match>
<!-- SpliceConstants: is is ok for unused fields to be public for now -->
<Match>
<Class name="com.splicemachine.constants.SpliceConstants"/>
<Bug pattern="MS_PKGPROTECT"/>
</Match>
<!-- SpliceConstants: all of our table name fields are static but are mutable arrays -->
<Match>
<Class name="com.splicemachine.constants.SpliceConstants"/>
<Bug pattern="MS_MUTABLE_ARRAY"/>
</Match>
<!-- The following 8 are here because scala doesn't allow annotations on package objects -->
<Match>
<Class name="com.splicemachine.spark.splicemachine.package"/>
<Bug pattern="NM_CLASS_NAMING_CONVENTION"/>
</Match>
<Match>
<Class name="com.splicemachine.spark.splicemachine.package"/>
<Bug pattern="NM_METHOD_NAMING_CONVENTION"/>
</Match>
<Match>
<Class name="com.splicemachine.spark.splicemachine.package$"/>
<Bug pattern="NM_CLASS_NAMING_CONVENTION"/>
</Match>
<Match>
<Class name="com.splicemachine.spark.splicemachine.package$"/>
<Bug pattern="NM_METHOD_NAMING_CONVENTION"/>
</Match>
<Match>
<Class name="com.splicemachine.spark2.splicemachine.package"/>
<Bug pattern="NM_CLASS_NAMING_CONVENTION"/>
</Match>
<Match>
<Class name="com.splicemachine.spark2.splicemachine.package"/>
<Bug pattern="NM_METHOD_NAMING_CONVENTION"/>
</Match>
<Match>
<Class name="com.splicemachine.spark2.splicemachine.package$"/>
<Bug pattern="NM_CLASS_NAMING_CONVENTION"/>
</Match>
<Match>
<Class name="com.splicemachine.spark2.splicemachine.package$"/>
<Bug pattern="NM_METHOD_NAMING_CONVENTION"/>
</Match>
<!-- SplicePartitioningUtils is external code <Class name="~SplicePartitioningUtils"/> -->
<Match>
<Class name="~com\.splicemachine\.spark\.splicemachine\.SplicePartitioningUtils.*"/>
</Match>
</FindBugsFilter>