-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
documentation of VariableDeclarationUsageDistance has stange note of default distance #9219
Labels
Milestone
Comments
@romani, after checking the examples in Unsupported Cases I think the check is working exactly as intended, this section seems to be outdated. I think it can be safely removed so that it does not confuse the user about the working of the check. I have provided examples in PR. |
bossever
added a commit
to bossever/checkstyle
that referenced
this issue
Jan 31, 2021
…n from VariableDeclarationUsageDistance check documentation
bossever
added a commit
to bossever/checkstyle
that referenced
this issue
Feb 5, 2021
…from VariableDeclarationUsageDistance check documentation
romani
pushed a commit
that referenced
this issue
Feb 7, 2021
…bleDeclarationUsageDistance check documentation
fix is merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://checkstyle.org/config_coding.html#VariableDeclarationUsageDistance_Notes
As distance by default is 1 the ....
As the distance is more than the default one, ....
default
allowedDistance
is3
https://checkstyle.org/config_coding.html#VariableDeclarationUsageDistance_Propertiesit is not clear what doc mean, or it might be outdated.
The text was updated successfully, but these errors were encountered: