| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<FindBugsFilter> |
| 3 |
|
| 4 |
<!-- |
| 5 |
! |
| 6 |
! This file is divided into two parts: |
| 7 |
! 1. APPROVED EXCLUSIONS |
| 8 |
! 2. TEMPORARY (UNAPPROVED) EXCLUSIONS |
| 9 |
! |
| 10 |
! Approved exclusions come in two sub-types: |
| 11 |
! 1. general exclusion of a named bug pattern, meaning that all instances that matches the bug |
| 12 |
! pattern identifier are excluded; |
| 13 |
! 2. specific exclusions for a named bug pattern, meaning that all instance exclusions are |
| 14 |
! explicitly enumerated; |
| 15 |
! |
| 16 |
! All specific exclusions must be accompanied inline (i.e., in the affected source code) by |
| 17 |
! a commented out annotation of the form: |
| 18 |
! |
| 19 |
! // @SuppressFBWarnings("pattern identifier") |
| 20 |
! |
| 21 |
! where pattern identifier is one of findbugs' named patterns. At an appropriate point in the |
| 22 |
! future, these commented out annotations will be uncommented and exclusion patterns removed |
| 23 |
! from this file. |
| 24 |
! |
| 25 |
! Temporary (unapproved) exclusions are short-term work arounds that should be removed as |
| 26 |
! soon as possible by either (1) fixing (eliminating) cause of warning, or (2) conversion to |
| 27 |
! approved exclusion. |
| 28 |
! |
| 29 |
! The organization of pattern matches employs the following levels (from top down): |
| 30 |
! 1. bug pattern |
| 31 |
! 2. or clause matching instances |
| 32 |
! 3. class name, if applies to class/interface |
| 33 |
! 4. and clause matching class/instance and single or or clause of multiple {method,field} members |
| 34 |
! |
| 35 |
! for example, |
| 36 |
! |
| 37 |
! <Match> |
| 38 |
! <Bug pattern="pattern identifier"/> |
| 39 |
! <Or> |
| 40 |
! <And> |
| 41 |
! <Class name="dotted class name"/> |
| 42 |
! <Member name="unqualified member name"/> |
| 43 |
! </And> |
| 44 |
! </Or> |
| 45 |
! </Match> |
| 46 |
! |
| 47 |
--> |
| 48 |
|
| 49 |
<!-- START - APPROVED EXCLUSIONS --> |
| 50 |
<!-- END - APPROVED EXCLUSIONS --> |
| 51 |
|
| 52 |
<!-- START - TEMPORARY (UNAPPROVED) EXCLUSIONS --> |
| 53 |
<Match> |
| 54 |
<Bug pattern="DM_DEFAULT_ENCODING"/> |
| 55 |
</Match> |
| 56 |
<Match> |
| 57 |
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2,MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR"/> |
| 58 |
</Match> |
| 59 |
<Match> |
| 60 |
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON"/> |
| 61 |
</Match> |
| 62 |
<!-- |
| 63 |
<Match> |
| 64 |
<Bug pattern="BC_UNCONFIRMED_CAST"/> |
| 65 |
</Match> |
| 66 |
<Match> |
| 67 |
<Bug pattern="DB_DUPLICATE_SWITCH_CLAUSES"/> |
| 68 |
</Match> |
| 69 |
<Match> |
| 70 |
<Bug pattern="DLS_DEAD_LOCAL_STORE"/> |
| 71 |
</Match> |
| 72 |
<Match> |
| 73 |
<Bug pattern="DM_CONVERT_CASE"/> |
| 74 |
</Match> |
| 75 |
<Match> |
| 76 |
<Bug pattern="DM_FP_NUMBER_CTOR"/> |
| 77 |
</Match> |
| 78 |
<Match> |
| 79 |
<Bug pattern="DM_NUMBER_CTOR"/> |
| 80 |
</Match> |
| 81 |
<Match> |
| 82 |
<Bug pattern="EI_EXPOSE_REP2"/> |
| 83 |
</Match> |
| 84 |
<Match> |
| 85 |
<Bug pattern="FE_FLOATING_POINT_EQUALITY"/> |
| 86 |
</Match> |
| 87 |
<Match> |
| 88 |
<Bug pattern="MS_OOI_PKGPROTECT"/> |
| 89 |
</Match> |
| 90 |
<Match> |
| 91 |
<Bug pattern="MS_PKGPROTECT"/> |
| 92 |
</Match> |
| 93 |
<Match> |
| 94 |
<Bug pattern="NM_CONFUSING"/> |
| 95 |
</Match> |
| 96 |
<Match> |
| 97 |
<Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/> |
| 98 |
</Match> |
| 99 |
<Match> |
| 100 |
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/> |
| 101 |
</Match> |
| 102 |
<Match> |
| 103 |
<Bug pattern="REC_CATCH_EXCEPTION"/> |
| 104 |
</Match> |
| 105 |
<Match> |
| 106 |
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/> |
| 107 |
</Match> |
| 108 |
<Match> |
| 109 |
<Bug pattern="SE_BAD_FIELD"/> |
| 110 |
</Match> |
| 111 |
<Match> |
| 112 |
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC"/> |
| 113 |
</Match> |
| 114 |
<Match> |
| 115 |
<Bug pattern="UI_INHERITANCE_UNSAFE_GETRESOURCE"/> |
| 116 |
</Match> |
| 117 |
<Match> |
| 118 |
<Bug pattern="URF_UNREAD_FIELD"/> |
| 119 |
</Match> |
| 120 |
<Match> |
| 121 |
<Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/> |
| 122 |
</Match> |
| 123 |
--> |
| 124 |
<!-- END - TEMPORARY (UNAPPROVED) EXCLUSIONS --> |
| 125 |
|
| 126 |
</FindBugsFilter> |