-
Notifications
You must be signed in to change notification settings - Fork 452
/
findbugs-exclude.xml
126 lines (123 loc) · 4.65 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!-- see http://findbugs.sourceforge.net/bugDescriptions.html -->
<LastVersion value="-1" relOp="NEQ"/>
<!-- The following have not yet been investigated -->
<!-- TODO(yanivi): investigate them -->
<And>
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER"/>
<!-- Synchronization performed on util.concurrent instance -->
<Class name="com.google.api.client.util.Data"/>
</And>
<And>
<Bug pattern="SE_BAD_FIELD_INNER_CLASS"/>
<!-- Non-serializable class has a serializable inner class -->
</And>
<!-- The following are known to be bugs and should be fixed -->
<And>
<Bug pattern="SE_BAD_FIELD"/>
<!-- Non-transient non-serializable instance field in serializable class -->
<Class name="com.google.api.client.http.HttpResponseException"/>
</And>
<And>
<Bug pattern="NP_NULL_PARAM_DEREF_NONVIRTUAL"/>
<!-- Non-virtual method call passes null for nonnull parameter -->
<Class name="com.google.api.client.xml.atom.AbstractAtomFeedParser"/>
</And>
<!-- The following are known to NOT be bugs and should not be fixed -->
<And>
<But pattern="AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION"/>
<!-- Sequence of calls to concurrent abstraction may not be atomic -->
<Class name="com.google.api.client.util.Data"/>
</And>
<And>
<Bug pattern="DM_BOOLEAN_CTOR"/>
<!-- Method invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead -->
<Class name="com.google.api.client.util.Data"/>
</And>
<And>
<Bug pattern="DM_STRING_VOID_CTOR"/>
<!-- Method invokes inefficient new String() constructor -->
<Class name="com.google.api.client.util.Data"/>
</And>
<And>
<Bug pattern="DM_NUMBER_CTOR"/>
<!-- Method invokes inefficient Number constructor; use static valueOf instead -->
<Class name="com.google.api.client.util.Data"/>
</And>
<And>
<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ"/>
<!-- Comparison of String parameter using == or != -->
<Class name="com.google.api.client.util.ClassInfo$1"/>
</And>
<And>
<Bug pattern="SS_SHOULD_BE_STATIC"/>
<!-- Unread field: should this field be static? -->
<Class name="com.google.api.client.json.rpc2.JsonRpcRequest"/>
</And>
<And>
<Bug pattern="DM_DEFAULT_ENCODING"/>
<!-- Reliance on default encoding -->
<Class name="com.google.api.client.http.MultipartRelatedContent"/>
<!-- Deprecated -->
</And>
<And>
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2"/>
<!-- May expose internal representation by returning reference to mutable object -->
<!-- May expose internal representation by incorporating reference to mutable object -->
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
<!-- Usage of a @Beta class or method -->
<Class name="com.google.api.client.json.JsonParser"/>
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
<Class name="com.google.api.client.http.HttpRequest"/>
</And>
<And>
<Bug pattern="MS_PKGPROTECT"/>
<!-- Field should be package protected -->
<Class name="com.google.api.client.testing.http.javanet.MockHttpURLConnection"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.http.GenericUrl"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.http.HttpHeaders"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.http.UriTemplate"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.json.JsonParser"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.util.DataMap"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.util.DateTime"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.http.HttpRequest"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.xml.XmlNamespaceDictionary"/>
</And>
</FindBugsFilter>