Added a local variable test

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2244 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-09-08 20:34:49 +00:00
parent 70cd11bc18
commit 2a38d677e9

View File

@ -6,6 +6,28 @@ These are new rules that are still in progress
</description>
<rule name="VariableNamingConventionsRule"
message="{0} variable {1} should begin with {2}"
class="net.sourceforge.pmd.rules.VariableNamingConventionsRule">
<description>
A variable naming conventions rule - customize this to your liking
Final variables should be all caps
Non-final variables should not include underscores
</description>
<priority>1</priority>
<example>
<![CDATA[
public class Foo {
public static final int MY_NUM = 0;
public String myTest = "";
DataModule dmTest = new DataModule();
}
]]>
</example>
</rule>
<!--
<rule name="SymbolTableTestRule"
message="NOT FULLY IMPLEMENTED - test"
class="net.sourceforge.pmd.rules.SymbolTableTestRule">
@ -20,6 +42,7 @@ These are new rules that are still in progress
]]>
</example>
</rule>
-->
<!--
<rule name="IdempotentOperationsRule"