mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
1. Surround with array initialization 2. Apply .toArray() conversion 3. Limited vararg support 4. Limited qualifier propagation GitOrigin-RevId: f81f593502df317b555e816af20cdec2d04488fc
8 lines
180 B
Java
8 lines
180 B
Java
// "Convert argument to 'long'" "true-preview"
|
|
import java.util.stream.Stream;
|
|
|
|
public class Demo {
|
|
void test() {
|
|
Stream<Long> stream = Stream.of(123)<caret>.limit(10);
|
|
}
|
|
} |