SONARJAVA-6863 Remove continue statements - #6046
Conversation
Reported by Sonar S6916
|
🔗 Commit SHA: 11bd08e | Docs | View more details | Give us feedback! |
Replace continue statements with inverted conditions in HashCodeMismatchedFieldsCheck and LocalVariablesShouldNotSpanSwitchCaseGroupsCheck. Revert the pattern match guard in CompilationOrPreparationInLoopCheck which used an unsupported "when" syntax, restoring the original "if" statement. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
✅ All code review findings resolved.
Code Review ✅ Approved 1 resolved / 1 findingsRefactors the codebase to use pattern match guards in place of ✅ 1 resolved✅ Bug: Guard on enum constant case labels does not compile
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|




Reported by Sonar S6916
Part of RC-73