diff options
Diffstat (limited to 'main/project/findbugs/exclusions.xml')
| -rw-r--r-- | main/project/findbugs/exclusions.xml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/main/project/findbugs/exclusions.xml b/main/project/findbugs/exclusions.xml index c48983e..798ecb4 100644 --- a/main/project/findbugs/exclusions.xml +++ b/main/project/findbugs/exclusions.xml @@ -2,7 +2,10 @@ <FindBugsFilter> <!-- generated Android resources --> <Match> - <Class name="~.*\.R\$.*"/> + <Or> + <Class name="~.*\.R\$.*"/> + <Class name="~.*ViewHolder"/> + </Or> </Match> <!-- third party code --> @@ -22,6 +25,8 @@ <Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" /> </Or> </Match> + + <!-- Memory usage improvement by explicitly removing shared substrings in pattern matcher. --> <Match> <Bug pattern="DM_STRING_CTOR" /> <Or> @@ -29,9 +34,17 @@ <Class name="~.*TextUtils"></Class> </Or> </Match> + + <!-- File scanner needs to use hard coded names. --> <Match> <Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME"/> <Class name="~.*LocalStorage"/> </Match> - + + <!-- Tests using setUp() methods don't initialize their fields in the constructor. --> + <Match> + <Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/> + <Class name="~.*Test"/> + </Match> + </FindBugsFilter>
\ No newline at end of file |
