You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/10/12 00:04:51 UTC
svn commit: r1531445 - /commons/proper/lang/trunk/findbugs-exclude-filter.xml
Author: britter
Date: Fri Oct 11 22:04:50 2013
New Revision: 1531445
URL: http://svn.apache.org/r1531445
Log:
Add FindBugs exclusion for toString(byte[], String)
Modified:
commons/proper/lang/trunk/findbugs-exclude-filter.xml
Modified: commons/proper/lang/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/findbugs-exclude-filter.xml?rev=1531445&r1=1531444&r2=1531445&view=diff
==============================================================================
--- commons/proper/lang/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/lang/trunk/findbugs-exclude-filter.xml Fri Oct 11 22:04:50 2013
@@ -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" />