-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathspotbugs-exclude.xml
More file actions
61 lines (52 loc) · 2.07 KB
/
spotbugs-exclude.xml
File metadata and controls
61 lines (52 loc) · 2.07 KB
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
60
61
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!-- Exclude internal representation exposure for IndexSchema getFieldMap -->
<Match>
<Class name="com.redis.vl.schema.IndexSchema" />
<Method name="getFieldMap" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<!-- Exclude EI2 warnings for SearchIndex constructors - storing clients is intended behavior -->
<Match>
<Class name="com.redis.vl.index.SearchIndex" />
<Method name="<init>" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
<!-- Exclude all MS warnings for BaseIntegrationTest - test utility fields can't be final -->
<Match>
<Class name="com.redis.vl.BaseIntegrationTest" />
<Bug pattern="~MS_.*" />
</Match>
<!-- Exclude format string warnings for test YAML content -->
<Match>
<Class name="com.redis.vl.index.SearchIndexIntegrationTest" />
<Method name="testSearchIndexFromYaml" />
<Bug pattern="VA_FORMAT_STRING_USES_NEWLINE" />
</Match>
<!-- Exclude potential NPE in lambda for SearchIndex load method -->
<Match>
<Class name="com.redis.vl.index.SearchIndex" />
<Method name="load" />
<Bug pattern="NP_NULL_ON_SOME_PATH" />
</Match>
<!-- Exclude any lambda-related warnings in SearchIndex -->
<Match>
<Class name="~com\.redis\.vl\.index\.SearchIndex\$.*" />
<Bug pattern="~.*" />
</Match>
<!-- Exclude constructor exception for DJLFaceVectorizer - AutoCloseable pattern is safe -->
<Match>
<Class name="com.redis.vl.utils.vectorize.DJLFaceVectorizer" />
<Method name="<init>" />
<Bug pattern="CT_CONSTRUCTOR_THROW" />
</Match>
<!-- Exclude EI warnings for LangChain4J adapter classes - storing infrastructure objects is intended -->
<Match>
<Package name="com.redis.vl.langchain4j" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<Match>
<Package name="com.redis.vl.langchain4j" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
</FindBugsFilter>