Skip to content

[java] UselessAssignment is not references by any ruleset #1629

@krichter722

Description

@krichter722

Affects PMD Version: ./.

Rule: UselessAssignment

Description:
https://github.com/pmd/pmd/blob/master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/UselessAssignment.java is not available in any ruleset and has a comment

//FUTURE This is not referenced by any RuleSet?

which indicates that this has been forgotten. If it's no longer use it should be marked deprecated or removed all together (and its removal should be noted somewhere since users will search for the functionality it provides).

Code Sample demonstrating the issue: ./.

Running PMD through: ./.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions