Skip to content

Commit b103df4

Browse files
Spotbugs: exclude all FlatBuffers generated code.
1 parent 9d840d8 commit b103df4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

objectbox-java/spotbugs-exclude.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<FindBugsFilter>
33
<Match>
4+
<!-- Hint: to use regex, prefix with ~. https://spotbugs.readthedocs.io/en/stable/filter.html -->
45
<!-- Exclude FlatBuffers generated code. -->
5-
<Class name="~io\.objectbox\.model\.Model.*" />
6+
<Package name="io.objectbox.model" />
67
</Match>
78
</FindBugsFilter>

0 commit comments

Comments
 (0)