mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +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;
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
@@ -214,6 +214,10 @@ public class NewLambdaHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA124547() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user