forked from typedb/typedb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
findbugs-exclude.xml
59 lines (52 loc) · 1.93 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
<!--
~ Grakn - A Distributed Semantic Database
~ Copyright (C) 2016-2018 Grakn Labs Limited
~
~ Grakn 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 of the License, or
~ (at your option) any later version.
~
~ Grakn 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 Grakn. If not, see <http://www.gnu.org/licenses/gpl.txt>.
-->
<FindBugsFilter>
<!-- Exclude generated ANTLR and protobuffer classes -->
<Match>
<or>
<Class name="~ai\.grakn\.graql\.internal\.antlr\..*"/>
<Class name="~ai\.grakn\.rpc\.generated\..*"/>
<Class name="~ai\.grakn\.rpc\.proto\..*"/>
</or>
</Match>
<!-- Exclude mocked tasks in engine-->
<Match>
<Class name="~ai\.grakn\.engine\.tasks\.mock\..*"/>
</Match>
<!-- Exclude test supporting classes-->
<Match>
<Class name="~ai\.grakn\.test\..*"/>
</Match>
<!-- Exclude classes that implement `compareTo`, but use `@AutoValue` to implement `equals` and `hashCode` -->
<Match>
<Or>
<Class name="ai.grakn.concept.ConceptId"/>
<Class name="ai.grakn.concept.Label"/>
<Class name="ai.grakn.concept.LabelId"/>
<Class name="ai.grakn.Keyspace"/>
<Class name="ai.grakn.client.concept.RemoteConcept"/>
</Or>
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS"/>
</Match>
<Match>
<Or>
<Class name="ai.grakn.engine.GraknCreator" />
</Or>
<Bug pattern="MS_PKGPROTECT" />
</Match>
</FindBugsFilter>