mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
stream migration: do not suggest to migrate if exceptions are thrown inside the block (IDEA-129484)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// "Replace with collect" "false"
|
||||
import java.util.*;
|
||||
|
||||
public class Test {
|
||||
public void foo() throws Exception {}
|
||||
|
||||
public static void bar(List<Test> currentImportLine) throws Exception {
|
||||
for (Test test : currentImp<caret>ortLine) {
|
||||
if (true) {
|
||||
test.foo();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user