mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 13:43:29 +07:00
9 lines
295 B
Java
9 lines
295 B
Java
import java.util.*;
|
|
class For {
|
|
void f(List<String> list) {
|
|
for (Iterator<String> <warning descr="Variable 'it' can have 'final' modifier">it</warning> = list.iterator(); it.hasNext();) {
|
|
}
|
|
for (int i = 0; i < 10; i++) {}
|
|
for (int i = 0, length = 10; i < length; i++) {}
|
|
}
|
|
} |