Skip to content
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

qa: address pmd findings #5274

Merged
merged 12 commits into from
Oct 4, 2024
Merged

qa: address pmd findings #5274

merged 12 commits into from
Oct 4, 2024

Conversation

jdrueckert
Copy link
Member

@jdrueckert jdrueckert commented Aug 18, 2024

Contains

Fixes for the following PMD finding categories:

  • CollapsibleIfStatements
  • SimplifiedTernary
  • SystemPrintln
  • InvalidLogMessageFormat
  • AvoidBranchingStatementAsLastInLoop
  • ForLoopCanBeForeach
  • AvoidPrintStackTrace

How to test

  • Test that Terasology CoreGameplay world can still be started fine
  • Check PMD job in CI that there are no more findings for the above-listed finding categories

@soloturn
Copy link
Contributor

@jdrueckert can you undraft it or split it please?

@jdrueckert jdrueckert marked this pull request as ready for review September 29, 2024 19:39
@jdrueckert jdrueckert requested a review from soloturn September 29, 2024 19:42
@jdrueckert jdrueckert self-assigned this Sep 29, 2024
@jdrueckert jdrueckert added Size: M Medium-sized effort likely requiring some research and work in multiple areas Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Status: Needs Testing Requires to be tested in-game for reproducibility Category: Test/QA Requests, Issues and Changes targeting tests and quality assurance Type: Refactoring Request for or implementation of pure and automatic refactorings, e.g. renaming, to improve clarity labels Sep 29, 2024
@jdrueckert
Copy link
Member Author

@jdrueckert can you undraft it or split it please?

I fixed the open checkstyle issues, wrote a proper PR description and undrafted the PR.
Please review in case you have time @soloturn 🙂
If you're okay with the changes, please feel free to approve and merge the PR, then I'll continue with fixing more PMD findings in another PR.

@jdrueckert jdrueckert added this to the 2023 Revive - Milestone 4 milestone Sep 29, 2024
@soloturn soloturn merged commit ba4d716 into develop Oct 4, 2024
11 checks passed
@soloturn soloturn deleted the qa/pmd-warnings branch October 9, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Test/QA Requests, Issues and Changes targeting tests and quality assurance Size: M Medium-sized effort likely requiring some research and work in multiple areas Status: Needs Testing Requires to be tested in-game for reproducibility Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Refactoring Request for or implementation of pure and automatic refactorings, e.g. renaming, to improve clarity
Projects
Status: No status
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants