forked from splicemachine/spliceengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfindbugs-exclude.xml
71 lines (61 loc) · 2.62 KB
/
findbugs-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
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
<?xml version="1.1"?>
<!--
~ Copyright (c) 2012 - 2019 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.
http://findbugs.sourceforge.net/manual/filter.html
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>
<!-- 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>
</FindBugsFilter>