mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
GrDeprecatedAPIUsage GroovyAccessToStaticFieldLockedOnInstance GroovyAssignabilityCheck GroovyAssignmentCanBeOperatorAssignment GroovyAssignmentToForLoopParameter GroovyAssignmentToMethodParameter GroovyBusyWait GroovyConstantConditional GroovyConstantIfStatement GroovyConstantNamingConvention GroovyConstructorNamedArguments GroovyDivideByZero GroovyDocCheck GroovyDoubleCheckedLocking GroovyUntypedAccess GrUnresolvedAccess GitOrigin-RevId: 97cd041c5fb52a2ec6d223235612f027481b4745
13 lines
336 B
HTML
13 lines
336 B
HTML
<html>
|
|
<body>
|
|
Reports assignments to <b>for</b> loop parameters inside the <b>for</b> loop body.
|
|
<p>While occasionally intended, this construct can be extremely confusing, and is often the result of a typo.</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
for (value in [1, 2, 3]) {
|
|
value = 4 // warning
|
|
}
|
|
</code></pre>
|
|
</body>
|
|
</html>
|