forked from typedb/typedb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
findbugs-exclude.xml
36 lines (30 loc) · 993 Bytes
/
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
<FindBugsFilter>
<!-- Exclude generated ANTLR classes -->
<Match>
<Class name="~ai\.grakn\.graql\.internal\.antlr\..*"/>
</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"/>
</Or>
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS"/>
</Match>
<Match>
<Or>
<Class name="ai.grakn.engine.GraknCreator" />
</Or>
<Bug pattern="MS_PKGPROTECT" />
</Match>
</FindBugsFilter>