Bug 1358338 - findbugs: Ignore generated R.*/Manifest* r?sebastian draft
authorAndrzej Hunt <ahunt@mozilla.com>
Thu, 20 Apr 2017 19:46:15 -0700
changeset 566175 a9bd84213c75e58fbf5e515215c837dcdfeb92ec
parent 566174 c1b65ac50bd8cb915119157c38374ba0fa2c1906
child 625220 ee9518a1e8952b10cc6f02fc95478422dee32475
push id55116
push userahunt@mozilla.com
push dateFri, 21 Apr 2017 02:47:08 +0000
reviewerssebastian
bugs1358338
milestone55.0a1
Bug 1358338 - findbugs: Ignore generated R.*/Manifest* r?sebastian MozReview-Commit-ID: AwBdVmK6Hc
mobile/android/app/findbugs-exclude.xml
--- a/mobile/android/app/findbugs-exclude.xml
+++ b/mobile/android/app/findbugs-exclude.xml
@@ -52,9 +52,17 @@
 
   <!-- 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>