| 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 0fff63624333059a8e4a2acbcf777070f4877ba4..b832898412b028eb2f396c48fdb272bb16d0be35 100644
|
| --- a/build/android/findbugs_filter/findbugs_exclude.xml
|
| +++ b/build/android/findbugs_filter/findbugs_exclude.xml
|
| @@ -113,4 +113,15 @@ In particular, ~ at the start of a string means it's a regex.
|
| <Method name="destroy" />
|
| <Bug code="ST" />
|
| </Match>
|
| + <!-- Ignore lazy initialization warnings in LocationSettings, which is explicitly
|
| + single-threaded. -->
|
| + <Match>
|
| + <Class name="org.chromium.chrome.browser.preferences.LocationSettings" />
|
| + <Bug pattern="LI_LAZY_INIT_STATIC" />
|
| + </Match>
|
| + <!-- WebsitePreference.compareTo() is indeed consistent with equals(). -->
|
| + <Match>
|
| + <Class name="org.chromium.chrome.browser.preferences.website.WebsitePreference" />
|
| + <Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
|
| + </Match>
|
| </FindBugsFilter>
|
|
|