forked from zxl0714/redis-mock
-
Notifications
You must be signed in to change notification settings - Fork 59
/
spotbugs-exclude.xml
43 lines (42 loc) · 1.77 KB
/
spotbugs-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
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter xmlns="https://github.com/spotbugs/filter/3.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
<Match>
<Or>
<Bug pattern="EI_EXPOSE_REP2"/>
<Bug pattern="EI_EXPOSE_REP"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
<Bug pattern="DM_CONVERT_CASE"/>
</Or>
</Match>
<Match>
<Class name="com.github.fppt.jedismock.RedisServer$RedisServiceJob"/>
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/>
</Match>
<Match>
<!--False positive as of Spotbugs 4.8.4.0-->
<Class name="com.github.fppt.jedismock.datastructures.RMHyperLogLog"/>
<Bug pattern="MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT"/>
</Match>
<Match>
<Class name="com.github.fppt.jedismock.operations.sortedsets.ZAdd"/>
<Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
</Match>
<Match>
<Class name="com.github.fppt.jedismock.datastructures.Slice"/>
<Bug pattern="SING_SINGLETON_IMPLEMENTS_SERIALIZABLE"/>
</Match>
<Match>
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/>
<Or>
<Class name="com.github.fppt.jedismock.operations.keys.PExpire"/>
<Class name="com.github.fppt.jedismock.operations.strings.Set"/>
<Class name="com.github.fppt.jedismock.operations.strings.SetEx"/>
</Or>
</Match>
<Match>
<Package name="com.github.fppt.jedismock.operations.scripting.cjson"/>
<Bug pattern="HE_INHERITS_EQUALS_USE_HASHCODE"/>
</Match>
</FindBugsFilter>