We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule:LocalVariableCouldBeFinal
Please provide the rule name and a link to the rule documentation: https://pmd.github.io/pmd/pmd_rules_java_codestyle.html#methodargumentcouldbefinal
Description: lombok.val is equivalet to final class
Code Sample demonstrating the issue:
import lombok.val; val test04 = logicTestService.test(); // This is equivalent to: // final String test04 = logicTestService.test();
Error:
LocalVariableCouldBeFinal: Local variable 'test04' could be declared final
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Rule:LocalVariableCouldBeFinal
Please provide the rule name and a link to the rule documentation:
https://pmd.github.io/pmd/pmd_rules_java_codestyle.html#methodargumentcouldbefinal
Description: lombok.val is equivalet to final class
Code Sample demonstrating the issue:
Error:
LocalVariableCouldBeFinal: Local variable 'test04' could be declared final
The text was updated successfully, but these errors were encountered: