Skip to content

Fix FinalLocalVariable Recipe for Multiple Variable Declarations #80

@Anmol202005

Description

@Anmol202005

Follow up of: #40

The FinalLocalVariableCheck recipe has partial coverage and doesn't handle cases where multiple variables are declared together.

Example:

int a, b, c;  // Only one variable has violation

Currently, cases like this where only one variable in a multi-variable declaration needs to be made final, the recipe won't process it.
Update the recipe to properly handle multiple variable declarations and apply the final modifier correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions