Author: britter
Date: Mon Oct 28 19:14:11 2013
New Revision: 1536490
URL: http://svn.apache.org/r1536490
Log:
If using more than one method name, the method elements have to be wrapped in
an Or element
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=1536490&r1=1536489&r2=1536490&view=diff
==============================================================================
--- commons/proper/lang/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/lang/trunk/findbugs-exclude-filter.xml Mon Oct 28 19:14:11
2013
@@ -51,8 +51,10 @@
<!-- Reason: methods are supposed to fall back to default encoding if no
charset is specified -->
<Match>
<Class name="org.apache.commons.lang3.StringUtils" />
- <Method name="toString" />
+ <Or>
+ <Method name="toString" />
<Method name="toEncodedString" />
+ </Or>
<Bug pattern="DM_DEFAULT_ENCODING" />
</Match>