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 not properly calculated in properties macros #14052
Comments
@aayushRedHat , can you help with this issue ? |
Sure |
I suspecting that whole checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/site/SiteUtil.java Lines 166 to 176 in 4f0aeba
is present only due to this defect. |
Even so, this workaround must stay because even this method can fail. |
yes, but we can significantly shrink content of this collection.
is same problem as issue description, we should be able to remove it in scope of this issue. |
Hi @romani, any progress here? Are we still facing the issue? |
Still a problem, load of PRs is too big to let me do any coding, please help to fix this issue. |
Sure, will start shortly, after making some decent progress on pending PRs. |
I won't be able to continue my work on this PR, as I am busy with other open PRs, and following up with one of the GSOC projects. I will surely combeback to this once later, if not been taken by anybody else. |
detected at https://github.com/checkstyle/checkstyle/pull/14049/files#r1398641110
problem is that property was added in 8.3 version but check was added to 8.24.
Before when PropertyMacros calculate since value it should compare it with version of Module and if version of module is above then use it.
We can try to reuse https://stackoverflow.com/a/65077344/1015848 class to compare versions.
Versions from abstract classes should be used with caution #14048 (comment)
The text was updated successfully, but these errors were encountered: