mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SimplifyStreamApiCallChainsInspectionTest#IterateListUnbox fixed (forgot to update expected result)
This commit is contained in:
@@ -6,6 +6,6 @@ import java.util.stream.IntStream;
|
||||
|
||||
public class Test extends ArrayList<String> {
|
||||
public void test(List<Integer> list) {
|
||||
long[] arr = IntStream.range(0, list.size()).map<caret>ToLong(list::get).toArray();
|
||||
long[] arr = list.stream().mapToLong(integer -> integer).toArray();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user