mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
introduce variable: forbid duplicate replacement in for statement condition (IDEA-88758)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
public class C {
|
||||
|
||||
public C(int[] ints) {
|
||||
for (int i = 0; i < length && ints[i] > 0; i++) {
|
||||
int temp = ints[i];
|
||||
System.out.println(temp);
|
||||
System.out.println(temp);
|
||||
System.out.println(temp);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user