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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4