Skip to content

Commit afa7521

Browse files
Spotbugs: fix exclude config, add one more FlatBuffers file.
1 parent b103df4 commit afa7521

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

objectbox-java/spotbugs-exclude.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<FindBugsFilter>
3+
<!-- Hint: to use regex, prefix with ~. https://spotbugs.readthedocs.io/en/stable/filter.html -->
4+
<!-- Exclude FlatBuffers generated code, compare with /scripts/flatc-idls.sh of core project. -->
5+
<Match>
6+
<Class name="io.objectbox.DebugFlags" />
7+
</Match>
38
<Match>
4-
<!-- Hint: to use regex, prefix with ~. https://spotbugs.readthedocs.io/en/stable/filter.html -->
5-
<!-- Exclude FlatBuffers generated code. -->
69
<Package name="io.objectbox.model" />
710
</Match>
11+
<Match>
12+
<Class name="io.objectbox.query.OrderFlags" />
13+
</Match>
814
</FindBugsFilter>

0 commit comments

Comments
 (0)