mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
testdata for IDEA-124547
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
class Scratch {
|
||||
private List<Id> entries;
|
||||
|
||||
public String encode() {
|
||||
return entries.stream()
|
||||
.map(e -> String.valueOf(e.getId()))
|
||||
.collect(Collectors.joining("+"));
|
||||
}
|
||||
|
||||
private static class Id {
|
||||
public long getId() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user