-
-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
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
Mistake From LongParameterList.kt #2202
Comments
Hi @mmandril I assume the variable is wrongly named. The current behavior of the rule you're referring to ( This is also consistent with the documentation of the
|
I imagined that. I think the same problem is in:
This classes were some that i could see that the attributes names makes no sense. I think changing the names for one that could explain better what it means(you gave a better name for example) will help. Thanks for the reply. |
Hi there.
If my DEFAULT_ACCEPTED_PARAMETER_LENGTH is 6, and this, for me, means that 6 is the max parameter length that a method must have at total, why detekt trigger if i have a method that receives 6 parameters ? This have no sense for me.
For me, this if (parameters != null && parameters >= threshold) must be replace for this if (parameters != null && parameters > threshold)
If anyone could explain to me. Thanks.
The text was updated successfully, but these errors were encountered: