void () { Stream<String> stream = Stream.of("x"); stream.forEach(System.out::println); Stream<String> parallel = stream.parallel(); <warning descr="Stream has already been linked or consumed">parallel</warning>.forEach(System.out::println); }