mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 06:39:38 +07:00
Fixes cases 1, 2 from IDEA-174219 Add quick-fixes for incompilable Stream API call chains when using primitive streams
8 lines
199 B
Java
8 lines
199 B
Java
// "Replace 'map()' with 'mapToDouble()'" "true"
|
|
import java.util.stream.*;
|
|
|
|
class Test {
|
|
void test() {
|
|
IntStream.range(0, 100).map(x -> x/<caret>1.0).forEach(s -> System.out.println(s));
|
|
}
|
|
} |