Remove no longer necessary SpotBugs excludes.

This commit is contained in:
pascalschumacher 2019-12-20 13:28:20 +01:00
parent cb2ec37bd3
commit c9ca06e496
1 changed files with 0 additions and 10 deletions

View File

@ -100,11 +100,6 @@
<Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
</Match>
<!-- Reason: Testing shows that new Integer(...) etc is quicker than Integer.valueOf -->
<Match>
<Bug pattern="DM_NUMBER_CTOR" />
</Match>
<!-- Reason: FindBugs 2.0.2 used in maven-findbugs-plugin 2.5.2 seems to have problems with detection of default cases
in switch statements. All the excluded methods have switch statements that conatin a default case. -->
<Match>
@ -112,11 +107,6 @@
<Method name="createNumber" />
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
</Match>
<Match>
<Class name="org.apache.commons.lang3.text.ExtendedMessageFormat"/>
<Method name="insertFormats" />
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
</Match>
<!-- Reason: FindBugs does not correctly recognize default branches in switch statements without break statements.
See, e.g., the report at https://sourceforge.net/p/findbugs/bugs/1298 -->
<Match>