SONARJAVA-6710: Fix FN on empty condition loop - #5865
Conversation
Code Review ✅ Approved 1 resolved / 1 findingsFixes a false negative in LoopExecutingAtMostOnceCheck for empty condition for loops by requiring conditional control flow in the body, and addresses the switch-expression test isolation finding. ✅ 1 resolved✅ Quality: Switch-expression test not isolated to the feature it verifies
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 |
|




Part of
Summary by Gitar
LoopExecutingAtMostOnceCheckfor empty conditionfor(;;)loops by requiring conditional control flow in the bodyThis will update automatically on new commits.