forked from dropwizard/dropwizard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
findbugs-exclude.xml
58 lines (51 loc) · 1.89 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
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!-- we're *supposed* to manually GC there -->
<Match>
<Class name="com.yammer.dropwizard.tasks.GarbageCollectionTask"/>
<Method name="execute"/>
<Bug pattern="DM_GC"/>
</Match>
<!-- given this is a console command, exit(-1) is right -->
<Match>
<Class name="com.yammer.dropwizard.cli.Cli"/>
<Method name="run"/>
<Bug pattern="DM_EXIT"/>
</Match>
<!-- ignore default null values in Configuration classes -->
<Match>
<Class name="~com\.yammer\.dropwizard\.config\..*Configuration.*"/>
<Bug pattern="UWF_NULL_FIELD"/>
</Match>
<!-- haven't started caring about servlet serialization either -->
<Match>
<Class name="com.yammer.dropwizard.servlets.AssetServlet"/>
<Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/>
</Match>
<!-- I don't care about Windows, sorry. -->
<Match>
<Bug pattern="VA_FORMAT_STRING_USES_NEWLINE"/>
</Match>
<!-- blissfully unconcerned about serialization -->
<Match>
<Bug code="Se"/>
</Match>
<!-- false alarms -->
<Match>
<Class name="com.yammer.dropwizard.jetty.AsyncRequestLog"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<Match>
<Class name="com.yammer.dropwizard.jetty.BiDiGzipHandler$GzipServletRequest"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<Match>
<Class name="com.yammer.dropwizard.json.YamlConverter"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<!-- Scala bytecode is weird. I know. -->
<Class name="~com\.yammer\.dropwizard\.providers\.OauthTokenInjectable.*"/>
<Class name="~com\.yammer\.dropwizard\.providers\.OauthTokenProvider.*"/>
<Class name="~com\.yammer\.dropwizard\.ScalaService.*"/>
<Class name="~com\.yammer\.dropwizard\.Logging.*" />
</FindBugsFilter>