2c45fc244e
Headless CI Tests / build (push) Has been cancelled
Run LinkedWarrantTest / build (push) Has been cancelled
Run Separate Tests / build (push) Has been cancelled
Static Analysis Java25 / build (push) Has been cancelled
Static Analysis / build (push) Has been cancelled
Typescript Check / tsc (push) Has been cancelled
Windows Java25 CI Tests / build (push) Has been cancelled
Windows CI Tests / build (push) Has been cancelled
76 lines
2.4 KiB
XML
76 lines
2.4 KiB
XML
<FindBugsFilter>
|
|
|
|
<!-- The following section is used to suppress notifications about
|
|
specific bugs and categories that we don't think are
|
|
worth the effort -->
|
|
|
|
<!-- what follows should be kept in sync with .spotbugs-check.xml -->
|
|
|
|
<!-- The following section is used to suppress notifications about
|
|
specific bugs and categories that we don't think are
|
|
worth the effort -->
|
|
|
|
<Match>
|
|
<!-- Minor clarity issue -->
|
|
<Bug pattern="RI_REDUNDANT_INTERFACES" />
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- Design issue -->
|
|
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON" />
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- Design issue -->
|
|
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS" />
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- Most of these are non-I18N, internal changes of case.
|
|
We should find the I18N ones, but it seems excessive
|
|
to track down and annotate all the others first thing -->
|
|
<Bug pattern="DM_CONVERT_CASE" />
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- Most of these are non-I18N, JMRI-specific file operations.
|
|
We should find the I18N ones, but it seems excessive
|
|
to track down and annotate all the others first thing.
|
|
Suppressed for now to focus attention on
|
|
other high-priority items. -->
|
|
<Bug pattern="DM_DEFAULT_ENCODING" />
|
|
</Match>
|
|
|
|
<!-- Suppress SLF4J bug which has many false positives due to ?: operator -->
|
|
<Match>
|
|
<Bug pattern="SLF4J_UNKNOWN_ARRAY" />
|
|
</Match>
|
|
|
|
<!-- Very high-frequency "malicious code" warnings can't yet be checked -->
|
|
<!-- but we keep some others to improve code robustness and containment -->
|
|
<Match>
|
|
<Or>
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
<Bug pattern="EI_EXPOSE_REP2" />
|
|
<Bug pattern="MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR" />
|
|
<Bug pattern="MS_MUTABLE_ARRAY" />
|
|
<Bug pattern="MS_EXPOSE_REP" />
|
|
<Bug pattern="MS_SHOULD_BE_FINAL" /><!-- we expose various constants for scripts -->
|
|
</Or>
|
|
</Match>
|
|
|
|
<!-- items we're unlikely to restore -->
|
|
|
|
<Match>
|
|
<!-- JMRI does not use serialization, permanently ignore -->
|
|
<Bug code="Se,SnVI" />
|
|
</Match>
|
|
|
|
|
|
<Match>
|
|
<!-- JMRI code is written with static final loggers. -->
|
|
<Bug pattern="SLF4J_LOGGER_SHOULD_BE_NON_STATIC" />
|
|
</Match>
|
|
|
|
</FindBugsFilter>
|