-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Issue #13155: updated the VariableDeclarationUsageDistance check documentation. #16877
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
base: master
Are you sure you want to change the base?
Conversation
97e7fd6
to
dee19ef
Compare
8d55867
to
2a5a3f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Items
src/site/xdoc/checks/coding/variabledeclarationusagedistance.xml
Outdated
Show resolved
Hide resolved
...com/puppycrawl/tools/checkstyle/checks/coding/variabledeclarationusagedistance/Example6.java
Outdated
Show resolved
Hide resolved
src/site/xdoc/checks/coding/variabledeclarationusagedistance.xml
Outdated
Show resolved
Hide resolved
d1628a1
to
17096ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spelling ,
src/site/xdoc/checks/coding/variabledeclarationusagedistance.xml
Outdated
Show resolved
Hide resolved
@Z4ID-Reaper , please fix spellings above. |
Ill fix this and and other issues too , once i get to my laptop tomorrow. |
59a0a91
to
bf249fd
Compare
@romani @Pankraz76 updated , please review for merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
last bit, then merge. +1
src/site/xdoc/checks/coding/variabledeclarationusagedistance.xml
Outdated
Show resolved
Hide resolved
bf249fd
to
eb2d241
Compare
eb2d241
to
aa0c952
Compare
d8fc91c
to
c463191
Compare
a7a0f36
to
0847853
Compare
Github, generate site |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last:
...com/puppycrawl/tools/checkstyle/checks/coding/variabledeclarationusagedistance/Example2.java
Outdated
Show resolved
Hide resolved
...com/puppycrawl/tools/checkstyle/checks/coding/variabledeclarationusagedistance/Example2.java
Outdated
Show resolved
Hide resolved
0847853
to
5e76913
Compare
checkstyle/src/site/xdoc/checks/coding/variabledeclarationusagedistance.xml Lines 30 to 31 in bb12f5f
should i change this to
|
Github, generate site |
Yes please, nice idea. plural: there is only one param and not a collection, right? So we might want to apply singularity as well. |
May improve spelling by using some articles: |
5e76913
to
5ebb88a
Compare
5ebb88a
to
42cea3e
Compare
42cea3e
to
9870ea5
Compare
Github, generate site |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, thank you.
7fb2ddb
to
a45149f
Compare
a45149f
to
be7b628
Compare
Github, generate site |
Summary of changes made so far
this pr is in a position to close the following issues :- #13155 , #16881 from my side it's all good 👍. |
This PR was initially targeting only 1 issue right? @Z4ID-Reaper Now it's targeting 2 issues. @romani should we proceed with these changes? Or should we split the PR? |
The second issue was very small work, and very related, to the point it arised from this PR only. |
references #13155 , #16881
preview of changes made
allowedDistance
,validateBetweenScopes
properties