mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-18 02:07:02 +07:00
9 lines
249 B
Java
9 lines
249 B
Java
// "Extract variable 'i' to separate mapping method" "true"
|
|
import java.util.*;
|
|
import java.util.stream.*;
|
|
|
|
public class Test {
|
|
void test2(List<String> list) {
|
|
list.stream().mapToInt(String::length).forEach(i -> System.out.println(i));
|
|
}
|
|
} |