forked from dropwizard/dropwizard
-
Notifications
You must be signed in to change notification settings - Fork 10
/
findbugs-exclude.xml
32 lines (29 loc) · 974 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!-- we're *supposed* to manually GC there -->
<Match>
<Class name="io.dropwizard.servlets.tasks.GarbageCollectionTask"/>
<Method name="execute"/>
<Bug pattern="DM_GC"/>
</Match>
<!-- kind of hard to use exit codes without System.exit -->
<Match>
<Class name="io.dropwizard.Application"/>
<Method name="run"/>
<Bug pattern="DM_EXIT"/>
</Match>
<!-- serialization is boring -->
<Match>
<Bug code="Se"/>
<Class name="io.dropwizard.servlets.tasks.TaskServlet"/>
</Match>
<Match>
<Bug code="Se"/>
<Class name="io.dropwizard.servlets.assets.AssetServlet"/>
</Match>
<!-- pretty sure this is a bug in FindBugs -->
<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE"/>
<Class name="io.dropwizard.configuration.ConfigurationFactory"/>
</Match>
</FindBugsFilter>