Added properties documentation

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5564 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Wouter Zelle
2007-10-22 07:26:19 +00:00
parent 999e34e849
commit 0acce874a8

View File

@ -1421,6 +1421,15 @@ This field is used in only one method and the first usage is assigning a value
to the field. This probably means that the field can be changed to a local variable.
</description>
<priority>3</priority>
<properties>
<!-- Disabled by default because these options generate false positives -->
<property name="CheckInnerClasses" description="Check inner classes">
<value>false</value>
</property>
<property name="DisallowNotAssignment" description="Disallow violations where the first usage is not an assignment">
<value>false</value>
</property>
</properties>
<example><![CDATA[
public class Foo {
private int x; //Why bother saving this?