A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.pmd-code.org/latest/pmd_rules_velocity_bestpractices.html below:

Best Practices | PMD Source Code Analyzer

Rules which enforce generally accepted best practices.

Table of Contents 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.velocity.rule.bestpractices.AvoidReassigningParametersRule

Use this rule by referencing it:

<rule ref="category/velocity/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.velocity.rule.bestpractices.UnusedMacroParameterRule

Use this rule by referencing it:

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4