mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-23 07:14:21 +07:00
13 lines
407 B
Java
13 lines
407 B
Java
// "Fix all 'Simplify stream API call chains' problems in file" "false"
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.stream.IntStream;
|
|
|
|
public class Test extends ArrayList<String> {
|
|
public void test(List<List<String>> list) {
|
|
int[] arrWrong = IntStream.range(0, list.size())
|
|
.m<caret>ap(index -> list.get(index).size() + list.get(0).get(index).length()).toArray();
|
|
}
|
|
}
|