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
Since version is determined incorrectly by property macros at returncount.xml.template #13934
Comments
When i changed the
Some logs to set the context:
And, the reason why the
And, the propertyName inside matches with propertyName of ReturnCountCheck.java i.e. format.
Maybe, this requires some additional logic to detach |
@relentless-pursuit Even in the |
@Rohanraj123 ,
And, re-run the test cases, it will draw version If you read the original issue attached above, while migrating, the version of the format changed from |
Ok thanks to give me better clearance @relentless-pursuit Sir |
We need to update code at
To keep this collection to be checked by class first, and then by property name to make sure we can find "format" only in specific Checks. ReturnCount does not have parent class that has some specific properties checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/coding/ReturnCountCheck.java Line 101 in 0322ba1
|
This does not seem like a good "override", as not all properties will match the module's It sort of made sense to do this manually for tokens since the automated process I used to create these versions could not identify when there was customizable tokens or not. Since this is being automated, this will cause a wrong version to be displayed if a non-customizable token is now converted to be customizable. |
This code is wrong and needs to be fixed. One of the values in the map is Setter: Line 92 in cf508bc
Edit: checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/site/SiteUtil.java Lines 703 to 704 in 0322ba1
|
issue is resolved |
Detected at https://github.com/checkstyle/checkstyle/pull/13932/files#r1368105661
Expected since is from setter, value should be 3.4.
Same problem is at https://github.com/checkstyle/checkstyle/pull/13971/files#r1385112133
For AtclauseOrder
The text was updated successfully, but these errors were encountered: