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 method description.

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

Expected behaviour
Method parameter 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

Labels

🗃️ rulerule improvment or rule development or bug💉 bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions