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
Resolve TailRecursion
inspection violations by replacing tail recursive calls
#14814
Labels
Comments
4 tasks
@romani , we should maybe deal with checks first and later discuss about the api class and utils test class? What do you feel? |
This was referenced Apr 20, 2024
@romani , @nrmancuso , #14815 is merged, could you please review and approve this issue if you agree.. |
Let's go! |
Better to deal with each violation (recursion case) in separate PR. It might be tricky to fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Follow-up of #14625
Version bump of IDEA to v2022.3.3 resulted in successful build with inspection problems that have been suppressed for migration :
https://app.circleci.com/pipelines/github/checkstyle/checkstyle/1/workflows/0968f80e-db8e-401a-ad87-8c409072ba31/jobs/574793/artifacts
TailRecursion
inspection problems need to be dealt with on a case by case basis.A probable solution would be to replace tail recursive calls with more reliable approach such as looping, to increase speed and optimization that is omitted by recursions.
PS: The line numbers shown in xml might be outdated. Please find by class names and reference entry points.
The text was updated successfully, but these errors were encountered: