mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
testdata to check additional constraints
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
class MyTest {
|
||||
void foo(Stream<List<Person>> listStream) {
|
||||
listStream.map(lp -> lp.stream().map(p -> p.name).collect(Collectors.joining("/", "<", ">")));
|
||||
}
|
||||
|
||||
public static class Person {
|
||||
private String name = "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user