mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
lambda -> method ref: reuse comment tracker (IDEA-189934)
This commit is contained in:
+2
-1
@@ -4,7 +4,8 @@ import java.util.stream.Collectors;
|
||||
|
||||
public class Main {
|
||||
public void test(List<Set<String>> nested) {
|
||||
/*non-equal*//*empty*/
|
||||
/*non-equal*/
|
||||
/*empty*/
|
||||
List<String> result = nested.stream().filter(Objects::nonNull).flatMap(Collection::stream).filter(str -> str./*startswith*/startsWith("xyz")).map(String::trim).collect(Collectors.toList());
|
||||
// 1
|
||||
/*target is here*/
|
||||
|
||||
Reference in New Issue
Block a user