forked from bumptech/glide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfindbugs-exclude.xml
45 lines (38 loc) · 1.47 KB
/
findbugs-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
44
45
<FindBugsFilter>
<Match>
<Class name="~.*R\$.*"/>
</Match>
<Match>
<Class name="~.*Manifest\$.*"/>
</Match>
<!-- BytesResource is the wrapper that is given control of the data. -->
<Match>
<Class name="com.bumptech.glide.load.resource.bytes.BytesResource"/>
<Method name="get"/>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<!-- We would rather expose the internal bytes than box or copy them. -->
<Match>
<Class name="com.bumptech.glide.load.resource.bytes.BytesResource"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<!-- RecyclableBufferedInputStream safely re-uses pooled byte arrays -->
<Match>
<Class name="com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<!-- DecodeJob tasks are ordered, but equivalent ordering does not imply equality -->
<Match>
<Class name="com.bumptech.glide.load.engine.DecodeJob" />
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
</Match>
<Match>
<Class name="com.bumptech.glide.load.engine.GlideException$IndentedPrintStream" />
<Bug pattern="DM_DEFAULT_ENCODING" />
</Match>
<!-- We make a best effort attempt to acquire the cpu count from a fixed path -->
<Match>
<Class name="com.bumptech.glide.load.engine.executor.GlideExecutor" />
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME" />
</Match>
</FindBugsFilter>