mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
9 lines
238 B
Java
9 lines
238 B
Java
// "Extract variable 'l' to 'asLongStream' operation" "true"
|
|
import java.util.*;
|
|
import java.util.stream.*;
|
|
|
|
public class Test {
|
|
long[] testMapRename(int[] x) {
|
|
return Arrays.stream(x).asLongStream().map(l -> l * l).toArray();
|
|
}
|
|
} |