mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inspection to highlight and convert pseudo-functional code (like guava Iterables) to java 8 api. initial version
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import com.google.common.collect.Iterables;
|
||||
|
||||
import java.lang.String;
|
||||
import java.util.List;
|
||||
import java.util.ArrayList;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
class c {
|
||||
void m() {
|
||||
List<String> l = new ArrayList<>();
|
||||
Iterable<Boolean> transform = l.stream().map(String::isEmpty).collect(Collectors.toList());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user