Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Marco KaufmannMarco KaufmannReporter
Marco KaufmannMarco KaufmannComponents
Fix versions
Priority
Normal
Details
Details
Assignee
Marco Kaufmann
Marco KaufmannReporter
Marco Kaufmann
Marco KaufmannComponents
Fix versions
Priority

Sentry
Sentry
Sentry
Created August 14, 2023 at 10:08 AM
Updated October 16, 2024 at 2:13 PM
Resolved August 18, 2023 at 2:42 PM
Rework the following rules for the new LaYC format and review the changes introduced by the automatic migration. Update the state of rule migration in this document.
Topic: loops and iterators.
S2272: "Iterator.next()" methods should throw "NoSuchElementException" (Done)
S4348: "iterator" should not return "this" (Done)
S4838: An iteration on a Collection should be performed on the type handled by the Collection (Done)
S2189: Loops should not be infinite (Done)
S2252: Loop conditions should be true at least once (Done)
S1751: Loops with at most one iteration should be refactored (Done)
S135: Loops should not contain more than a single "break" or "continue" statement (Done)
S2251: A "for" loop update clause should move the counter in the right direction (Done)
S127: "for" loop stop conditions should be invariant (Done)
S1994: "for" loop increment clauses should modify the loops' counters (Done)
S1264: A "while" loop should be used instead of a "for" loop (Done)
S5413: List.remove()' should not be used in ascending 'for' loops (Done)