Skip to content

JDO-823: Fix sonarcloud issues of type Code Smells#120

Merged
mboapache merged 2 commits intomainfrom
JDO-823-2
Mar 31, 2026
Merged

JDO-823: Fix sonarcloud issues of type Code Smells#120
mboapache merged 2 commits intomainfrom
JDO-823-2

Conversation

@mboapache
Copy link
Copy Markdown
Contributor

  • Methods should not be empty
  • "@OverRide" should be used on overriding and implementing methods
  • Cognitive Complexity of methods should not be too high
  • Array designators "[]" should be on the type, not the variable
  • Standard outputs should not be used directly to log anything
  • Throwable and Error should not be caught
  • "String.isEmpty()" should be used to test for emptiness
  • "switch" statements should have "default" clauses
  • Local variables should not be declared and then immediately returned or thrown
  • Local variables should not shadow class fields
  • Methods should not have too many parameters

Copy link
Copy Markdown
Contributor

@clr-apache clr-apache left a comment

Choose a reason for hiding this comment

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

Looks good.

@sonarqubecloud
Copy link
Copy Markdown

@mboapache mboapache merged commit 1d5af60 into main Mar 31, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants