Skip to content

refactoring/536_resolve-sonar-findings-of-june-2026#537

Merged
redcatbear merged 4 commits into
mainfrom
refactoring/536_resolve-sonar-findings-of-june-2026
Jun 2, 2026
Merged

refactoring/536_resolve-sonar-findings-of-june-2026#537
redcatbear merged 4 commits into
mainfrom
refactoring/536_resolve-sonar-findings-of-june-2026

Conversation

@redcatbear
Copy link
Copy Markdown
Collaborator

@redcatbear redcatbear commented Jun 2, 2026

This PR fixes a number of Sonar findings that OFT collected over the years with Sonar getting new and more tight rules.

Contributes to #536. I don't think we will be able to do everything in a single PR.

@redcatbear redcatbear self-assigned this Jun 2, 2026
@redcatbear redcatbear added the refactoring Code improvement without behavior change label Jun 2, 2026
@redcatbear redcatbear requested review from cruzel89 and kaklakariada and removed request for cruzel89 June 2, 2026 08:32
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

@redcatbear redcatbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaklakariada, the review is less work than it looks. Most changes fall into on of these categories:

  1. String concatenation to text block
  2. Remove superfluous code (like unthrown exceptions)
  3. Streams improvements (immutability in collector)
  4. Resource protection

@redcatbear redcatbear merged commit 118119e into main Jun 2, 2026
11 checks passed
@redcatbear redcatbear deleted the refactoring/536_resolve-sonar-findings-of-june-2026 branch June 2, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Code improvement without behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants