Skip to content

False detection for rule "The variable is never reassigned and can be 'final'" #121

@errorscript

Description

@errorscript

Describe the bug
The rule is active on interface method description.

To Reproduce
Analyse any interface with a method description with arguments.

Expected behaviour
Interface method description must not trigger this rule.
Only default or static method declaration might trigger this rule in interface.

Screenshots

Image

Software Versions

  • SonarQube Version: v25.8.0.112029
  • Plugin Version: 2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions