mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
testdata for IDEA-140035
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
class Test {
|
||||
|
||||
static class Row {
|
||||
public String get(int index) {
|
||||
return "test";
|
||||
}
|
||||
}
|
||||
|
||||
void foo(List<Row> list) {
|
||||
list.stream().collect(
|
||||
Collectors.toMap(a -> String.valueOf(a.get(0)), a -> String.valueOf(a.get(1))));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user