Remove no longer necessary SpotBugs excludes.
This commit is contained in:
parent
cb2ec37bd3
commit
c9ca06e496
|
@ -100,11 +100,6 @@
|
||||||
<Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
|
<Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
|
||||||
</Match>
|
</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
|
<!-- 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. -->
|
in switch statements. All the excluded methods have switch statements that conatin a default case. -->
|
||||||
<Match>
|
<Match>
|
||||||
|
@ -112,11 +107,6 @@
|
||||||
<Method name="createNumber" />
|
<Method name="createNumber" />
|
||||||
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
|
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
|
||||||
</Match>
|
</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.
|
<!-- 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 -->
|
See, e.g., the report at https://sourceforge.net/p/findbugs/bugs/1298 -->
|
||||||
<Match>
|
<Match>
|
||||||
|
|
Loading…
Reference in New Issue