spotbugs-exclude.xml (855B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <FindBugsFilter> 3 <!-- Disable findbugs for Kotlin source files. Code generated by the Kotlin compiler has 4 triggered false positive findbugs warning regularly. --> 5 <Match> 6 <Source name="~.*\.kt"/> 7 </Match> 8 <!-- FindBugs doesn't like the resource classes provided by both ourselves, and the android 9 support libraries. --> 10 <Match> 11 <Class name="~.*\.R\$.*"/> 12 </Match> 13 <Match> 14 <Class name="~.*\.Manifest\$.*"/> 15 </Match> 16 <Match> 17 <Class name="~.*\.*Test"/> 18 </Match> 19 <!-- Todo consider reincluding --> 20 <Match> 21 <Class name="~.*\.*Helper"/> 22 </Match> 23 <Match> 24 <Class name="~.*\.*Screenshots"/> 25 </Match> 26 <Match> 27 <Bug pattern="NP_NULL_PARAM_DEREF_NONVIRTUAL"/> 28 </Match> 29 </FindBugsFilter>