diff --git a/pmd/rulesets/design.xml b/pmd/rulesets/design.xml index 5b7d0ac381..442b200781 100644 --- a/pmd/rulesets/design.xml +++ b/pmd/rulesets/design.xml @@ -265,7 +265,7 @@ public class Foo { name = "JuniorClass"; } public String toString(){ - return name; + return name.toUpperCase(); } } ]]>