# Best Practices

Rules which enforce generally accepted best practices.
Edit me

## AvoidReassigningParameters

Since: PMD 5.1

Priority: Medium High (2)

Reassigning values to incoming parameters is not recommended. Use temporary local variables instead.

This rule is defined by the following Java class: net.sourceforge.pmd.lang.vm.rule.bestpractices.AvoidReassigningParametersRule

Use this rule by referencing it:

    <rule ref="category/vm/bestpractices.xml/AvoidReassigningParameters" />

## UnusedMacroParameter

Since: PMD 5.1

Priority: Medium High (2)

Avoid unused macro parameters. They should be deleted.

This rule is defined by the following Java class: net.sourceforge.pmd.lang.vm.rule.bestpractices.UnusedMacroParameterRule

Use this rule by referencing it:

    <rule ref="category/vm/bestpractices.xml/UnusedMacroParameter" />