Integriert eine neue Regel: Einfügen von Break-Anweisungen in For-Loops.
Oktober 4, 2019
Neue Version
Funktionen
New Rule - Insert Break Statements in For-loops
This rule finds Enhanced For-loops that return a boolean flag in case at least one element matches a certain criteria. In such cases, a break statement is added after the flag has been set the first time. This eliminates additional redundant loop cycles.