mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add test case for the SimplifyStreamApiCallChainsInspectionFixTest
GitOrigin-RevId: aa076ded2e9a1506288e0798c2031e913819a927
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cbe208fba4
commit
16c77ee931
@@ -0,0 +1,10 @@
|
||||
// "Replace List.of().stream() with Stream.of()" "true"
|
||||
|
||||
import java.util.List;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
class Test {
|
||||
void test() {
|
||||
Stream.of(new int[]{1, 2, 3, 42}).forEach(System.out::println);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Replace List.of().stream() with Stream.of()" "true"
|
||||
|
||||
import java.util.List;
|
||||
|
||||
class Test {
|
||||
void test() {
|
||||
List.of(new int[]{1, 2, 3, 42}).st<caret>ream().forEach(System.out::println);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user