mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-182759 CommentTracker already used exception
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// "Replace with forEach" "true"
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
public class Test {
|
||||
public static void main(String[] args) {
|
||||
for (String module : args) {
|
||||
VirtualFile[] sourceRoots = foo(module);
|
||||
Arrays.stream(sourceRoots).forEach((VirtualFile sourceRoot) -> sourceRoot.substring());
|
||||
}
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// "Replace with forEach" "true"
|
||||
|
||||
public class Test {
|
||||
public static void main(String[] args) {
|
||||
for (String module : args) {
|
||||
VirtualFile[] sourceRoots = foo(module);
|
||||
fo<caret>r (VirtualFile sourceRoot : sourceRoots) {
|
||||
sourceRoot.substring();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user