forked from googleapis/google-api-java-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
findbugs-exclude.xml
108 lines (106 loc) · 4.27 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
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!-- http://findbugs.sourceforge.net/bugDescriptions.html -->
<!-- http://findbugs.sourceforge.net/manual/filter.html -->
<LastVersion value="-1" relOp="NEQ"/>
<!-- The following have not yet been investigated -->
<!-- The following are known to NOT be bugs and should not be fixed -->
<And>
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>
<!-- Class doesn't override equals in superclass -->
<Class name="com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeRequestUrl"/>
</And>
<And>
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>
<Class name="com.google.api.client.googleapis.auth.oauth2.GoogleBrowserClientRequestUrl"/>
</And>
<And>
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>
<Class name="com.google.api.client.googleapis.GoogleUrl"/>
</And>
<And>
<Bug pattern="NP_DEREFERENCE_OF_READLINE_VALUE"/>
<!-- Dereference of the result of readLine() without nullcheck -->
<Class name="com.google.api.client.googleapis.batch.BatchUnparsedResponse"/>
</And>
<And>
<Bug pattern="NP_NULL_PARAM_DEREF"/>
<!-- Method call passes null for nonnull parameter -->
<Class name="com.google.api.client.googleapis.batch.BatchUnparsedResponse"/>
</And>
<And>
<Bug pattern="DM_DEFAULT_ENCODING"/>
<!-- Reliance on default encoding -->
<Class name="com.google.api.client.googleapis.auth.oauth2.GoogleCredential$Builder"/>
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
<!-- Usage of an @Beta class or method -->
<Class name="com.google.api.client.googleapis.batch.BatchUnparsedResponse"/>
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
<Class name="com.google.api.client.googleapis.batch.BatchRequest"/>
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
<Class name="com.google.api.client.googleapis.media.MediaHttpDownloader"/>
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE,BETA_METHOD_USAGE"/>
<Class name="~com.google.api.client.googleapis.media.MediaHttpUploader"/>
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE"/>
<!-- Usage of DefaultCredentialProvider in static field constructor -->
<Class name="com.google.api.client.googleapis.auth.oauth2.GoogleCredential"/>
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE"/>
<!-- Usage of Beta class in the nested anonymous class -->
<Class name="com.google.api.client.googleapis.testing.compute.MockMetadataServerTransport$1"/>
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE"/>
<!-- Usage of Beta class in the nested anonymous class -->
<Class name="com.google.api.client.googleapis.testing.compute.MockMetadataServerTransport$2"/>
</And>
<And>
<Bug pattern="BETA_CLASS_USAGE"/>
<!-- Usage of Beta class in the nested anonymous class -->
<Class name="com.google.api.client.googleapis.testing.auth.oauth2.MockTokenServerTransport$1"/>
</And>
<And>
<Bug pattern="BETA_METHOD_USAGE"/>
<Class name="com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow$Builder"/>
</And>
<And>
<Bug pattern="NP_BOOLEAN_RETURN_NULL"/>
<!-- Method with Boolean return type returns explicit null -->
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.googleapis.batch.BatchRequest"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.googleapis.services.AbstractGoogleClient"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential$RequestHandler"/>
</And>
<And>
<Bug pattern="DM_STRING_CTOR"/>
<!-- Method invokes inefficient new String(String) constructor -->
<Class name="com.google.api.client.googleapis.xml.atom.MultiKindFeedParser"/>
</And>
</FindBugsFilter>