Skip to content

Commit d54abc9

Browse files
committed
api: Exclude preexisting findbugs violations from new rule.
https://codereview.appspot.com/103910044/
1 parent d6389fe commit d54abc9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

findbugs-exclude.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,29 @@
7070
<Bug pattern="NP_BOOLEAN_RETURN_NULL"/>
7171
<!-- Method with Boolean return type returns explicit null -->
7272
</And>
73+
<And>
74+
<Bug pattern="DM_STRING_CTOR"/>
75+
<!-- Method invokes inefficient new String(String) constructor -->
76+
<Class name="com.google.api.client.googleapis.batch.BatchRequest"/>
77+
</And>
78+
<And>
79+
<Bug pattern="DM_STRING_CTOR"/>
80+
<!-- Method invokes inefficient new String(String) constructor -->
81+
<Class name="com.google.api.client.googleapis.services.AbstractGoogleClient"/>
82+
</And>
83+
<And>
84+
<Bug pattern="DM_STRING_CTOR"/>
85+
<!-- Method invokes inefficient new String(String) constructor -->
86+
<Class name="com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential"/>
87+
</And>
88+
<And>
89+
<Bug pattern="DM_STRING_CTOR"/>
90+
<!-- Method invokes inefficient new String(String) constructor -->
91+
<Class name="com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential$RequestHandler"/>
92+
</And>
93+
<And>
94+
<Bug pattern="DM_STRING_CTOR"/>
95+
<!-- Method invokes inefficient new String(String) constructor -->
96+
<Class name="com.google.api.client.googleapis.xml.atom.MultiKindFeedParser"/>
97+
</And>
7398
</FindBugsFilter>

0 commit comments

Comments
 (0)