Skip to content

MiDeadJavaImplementsAbstractRule error in signature comparison #1604

@NicolasAnquetil

Description

@NicolasAnquetil

MiDeadJavaImplementsAbstractRule looks for interface methods having the same signature as a dead method candidate by comparing the signatures.

But if the interface is generic, the signature of its method includes Parameter Types while the signature of the dead method candidate will include actual types.
Thus the rule does not recognize the method as not dead when it should

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