blob: 863256f80dc7efea1965040a317b53195e3bc0d1 [file]
// "Replace with 'Collectors.joining'" "true"
import java.util.stream.Stream;
import static java.util.stream.Collectors.toList;
class Test {
public void test() {
String.join(/*2*/"\n" /*1*/,
(Stream.of(12, 22)
.map(Object::toString) /*3*/
.collect<caret>(((toList())) // comment?
))
);
}
}