DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (e429320fcdd2)

VCS Links

Line Code
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
<?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>