| Index: build/android/findbugs_filter/findbugs_exclude.xml
|
| diff --git a/build/android/findbugs_filter/findbugs_exclude.xml b/build/android/findbugs_filter/findbugs_exclude.xml
|
| index b3aa70d9cd81e554fee6fdcc9081951a4a1b37e9..cf6d6928c5a1750144629423b91abbb86f7f0a18 100644
|
| --- a/build/android/findbugs_filter/findbugs_exclude.xml
|
| +++ b/build/android/findbugs_filter/findbugs_exclude.xml
|
| @@ -24,4 +24,12 @@ In particular, ~ at the start of a string means it's a regex.
|
| </Match>
|
| <!-- Ignore "reliance on default String encoding" warnings, as we're not multi-platform -->
|
| <Bug pattern="DM_DEFAULT_ENCODING" />
|
| + <!-- Ignore bugs that are often false-positives in test code -->
|
| + <Match>
|
| + <Class name="~org\.chromium\..*Test(\$\w+)?" />
|
| + <Or>
|
| + <Bug code="DLS,UrF" />
|
| + <Bug pattern="DM_GC" />
|
| + </Or>
|
| + </Match>
|
| </FindBugsFilter>
|
|
|