You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

exclusions.xml 3.3KB

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