mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
9 lines
237 B
Java
9 lines
237 B
Java
// "Extract variable 'l' to 'map' operation" "true"
|
|
import java.util.*;
|
|
import java.util.stream.*;
|
|
|
|
public class Test {
|
|
long[] testAsLongStream(int[] x) {
|
|
return Arrays.stream(x).map(i -> i * 2).mapToLong((l -> l)).toArray();
|
|
}
|
|
} |