mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
foreach loop variable shouldn't be visible from the loop expression (IDEA-55859)
This commit is contained in:
+1
-1
@@ -181,7 +181,7 @@ public class a {
|
||||
}
|
||||
|
||||
void forEachParam(java.io.File x) {
|
||||
for (java.io.File f: <error descr="Variable 'f' might not have been initialized">f</error>.listFiles()) {
|
||||
for (java.io.File f: <error descr="Cannot resolve symbol 'f'">f</error>.listFiles()) {
|
||||
forEachParam(f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user