Add FindBugs exclusion for toString(byte[], String)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531445 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2013-10-11 22:04:50 +00:00
parent 0309b11ff2
commit c62447ce10
1 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,13 @@
<Bug pattern="NP_BOOLEAN_RETURN_NULL" />
</Match>
<!-- Reason: toString to supposed to fall back to default encoding if no charsetName is passed in -->
<Match>
<Class name="org.apache.commons.lang3.StringUtils" />
<Method name="toString" />
<Bug pattern="DM_DEFAULT_ENCODING" />
</Match>
<!-- Reason: base class cannot be changed and field is properly checked against null so behavior is OK -->
<Match>
<Class name="org.apache.commons.lang3.text.ExtendedMessageFormat" />