gecko-dev/mobile/android/app/findbugs-exclude.xml
Andrzej Hunt 29689d9c31 Bug 1358338 - findbugs: Ignore generated R.*/Manifest* r=sebastian
MozReview-Commit-ID: AwBdVmK6Hc

--HG--
extra : rebase_source : b081f15df43c0051dff5ae5209b53ad06cf7928e
2017-04-20 19:46:15 -07:00

69 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<FindBugsFilter>
<!-- Bug 1316008 -->
<Match>
<Bug pattern="DM_DEFAULT_ENCODING" />
</Match>
<!-- Bug 1320298 -->
<Match>
<Bug pattern="MS_MUTABLE_ARRAY" />
</Match>
<!-- Bug 1316009 -->
<Match>
<Bug pattern="MS_SHOULD_BE_FINAL" />
</Match>
<!-- Bug 1316010 -->
<Match>
<Bug pattern="UL_UNRELEASED_LOCK" />
</Match>
<!-- Bug 1316021 -->
<Match>
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" />
</Match>
<!-- Bug 1320316 -->
<Match>
<Bug pattern="DM_BOXED_PRIMITIVE_TOSTRING" />
</Match>
<Match>
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT" />
</Match>
<Match>
<Bug pattern="NP_NULL_ON_SOME_PATH" />
</Match>
<Match>
<Bug pattern="NP_NULL_PARAM_DEREF_NONVIRTUAL" />
</Match>
<!-- We explicitly want to swallow exceptions in releaseProviders() (Bug 1315982) -->
<Match>
<Class name="org.mozilla.gecko.sync.repositories.android.FennecTabsRepository$FennecTabsRepositorySession" />
<Method name="releaseProviders" />
<Bug pattern="DE_MIGHT_IGNORE" />
</Match>
<!-- Ignore false positive in SerialRecordConsumer (Bug 1316011) -->
<Match>
<Class name="org.mozilla.gecko.sync.synchronizer.SerialRecordConsumer" />
<Method name="stored" />
<Bug pattern="VO_VOLATILE_INCREMENT" />
</Match>
<!-- FindBugs doesn't like the resource classes provided by both ourselves, and the android
support libraries. -->
<Match>
<Class name="~.*\.R\$.*"/>
</Match>
<Match>
<Class name="~.*\.Manifest\$.*"/>
</Match>
</FindBugsFilter>