If using more than one method name, the method elements have to be wrapped in an Or element
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1536490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8b0cc5d9c4
commit
c650b17f50
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue