File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
src/main/java/io/objectbox/ideasonly Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,13 @@ dependencies {
9
9
implementation ' org.greenrobot:essentials:3.0.0-RC1'
10
10
implementation ' com.google.flatbuffers:flatbuffers-java:1.12.0'
11
11
api ' com.google.code.findbugs:jsr305:3.0.2'
12
+
13
+ compileOnly ' com.github.spotbugs:spotbugs-annotations:4.0.4'
12
14
}
13
15
14
16
spotbugs {
15
17
ignoreFailures = true
18
+ excludeFilter = file(" spotbugs-exclude.xml" )
16
19
}
17
20
18
21
javadoc {
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <FindBugsFilter >
3
+ <Match >
4
+ <!-- Exclude FlatBuffers generated code. -->
5
+ <Class name =" ~io\.objectbox\.model\.Model.*" />
6
+ </Match >
7
+ </FindBugsFilter >
Original file line number Diff line number Diff line change 16
16
17
17
package io .objectbox .ideasonly ;
18
18
19
+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
20
+
19
21
public class ModelModifier {
20
22
public class EntityModifier {
21
23
final String schemaName ;
@@ -37,6 +39,7 @@ public PropertyModifier property(String name) {
37
39
}
38
40
}
39
41
42
+ @ SuppressFBWarnings // Class may be static, ignore as this is an idea only.
40
43
public class PropertyModifier {
41
44
final String name ;
42
45
final EntityModifier entityModifier ;
You can’t perform that action at this time.
0 commit comments