Skip to content

remove System.out.println from test classes [Fix] - #2104

Merged
lbroudoux merged 1 commit into
microcks:masterfrom
abhaygoudannavar:fix/sonar-s106-system-out
May 11, 2026
Merged

lbroudoux merged 1 commit into
microcks:masterfrom
abhaygoudannavar:fix/sonar-s106-system-out

Conversation

@abhaygoudannavar

Copy link
Copy Markdown
Contributor

Summary

Removed leftover System.out.println debug statements from test classes, addressing the code smell raised by SonarCloud and aggregated under #2058.

Sites changed

  • AsyncAPISchemaValidatorTest
  • OpenAPISchemaValidatorTest

Notes

This rule (java:S106 - Standard outputs should not be used directly to log anything) flagged these debug print statements. Since these were just leftover prints inside tests that provide no long-term logging value, they have been cleanly removed (along with their enclosing for loops).

@lbroudoux lbroudoux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a nice catch. Thank you!

@lbroudoux lbroudoux added kind/task java Pull requests that update Java code labels May 11, 2026
@lbroudoux lbroudoux added this to the 1.15.0 milestone May 11, 2026
@lbroudoux
lbroudoux merged commit 03dbbc4 into microcks:master May 11, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

java Pull requests that update Java code kind/task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants