mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
13 lines
294 B
Java
13 lines
294 B
Java
// "Fix all 'Stream API call chain can be replaced with loop' problems in file" "true"
|
|
|
|
import java.util.stream.Stream;
|
|
|
|
public class Main {
|
|
void test() {
|
|
test:
|
|
Stream<caret>.of("foo", "bar", "baz").forEach(System.out::println);
|
|
|
|
String s = "xyz";
|
|
System.out.println(s);
|
|
}
|
|
} |