added example

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@547 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2002-07-29 17:14:47 +00:00
parent 372b6b1374
commit 410608a10e

View File

@ -6,14 +6,18 @@ These are new ones for the next release
</description>
<rule name="UnusedFormalParameter"
message="Avoid unused formal paramters such as ''{0}''"
message="Avoid unused formal parameters such as ''{0}''"
class="net.sourceforge.pmd.rules.UnusedFormalParameterRule">
<description>
Complete this description
Avoid passing parameters to methods and then not using those parameters.
</description>
<example>
<![CDATA[
public class Foo {
private void bar(String howdy) {
// howdy is not used
}
]]>
</example>
</rule>