forked from dropwizard/dropwizard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
findbugs-exclude.xml
41 lines (36 loc) · 1.19 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
<?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="onFatalError"/>
<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>
<!-- exclude the generated code by JMH from the analysis -->
<Match>
<Package name="~io\.dropwizard\.benchmarks\..*\.generated"/>
</Match>
<Match>
<Package name="~org\.openjdk\.jmh.*"/>
</Match>
</FindBugsFilter>