java - How to auto fix checkstyle warnings of FinalLocalVariable and FinalParameters by Intellij -
code style has rules: finallocalvariable finalparameters
it give warning like: parameter xxx should final.
some people don't add final while writing code. in case team has practice add that. how can easier add them up?
find in setting -> editor -> inspections. search keyword "final". in "code style issues", check "local variable or parameter can final" , make sure "report local variables" , "report method parameters" checked.
then run analyze -> inspect code. make sure select profile created in "inspection profile".
Comments
Post a Comment