mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
StreamToLoop: VoidBlockLambdaFunctionHelper: recreate body if invalid (fixes EA-97022 - PIEAE: CompositePsiElement.getContainingFile)
This commit is contained in:
+7
@@ -74,4 +74,11 @@ public class Main {
|
||||
}
|
||||
System.out.println(count);
|
||||
}
|
||||
|
||||
void test(List<String> list) {
|
||||
for (String x : list) {
|
||||
if (x.isEmpty()) continue;
|
||||
System.out.println(x);
|
||||
}
|
||||
}
|
||||
}
|
||||
+7
@@ -48,4 +48,11 @@ public class Main {
|
||||
System.out.println("In flatmap: "+l);
|
||||
})).count());
|
||||
}
|
||||
|
||||
void test(List<String> list) {
|
||||
list.forEach(x -> {
|
||||
if(x.isEmpty()) return;
|
||||
System.out.println(x);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user