mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 06:11:42 +07:00
IDEA-168967 Intention to extract local variable created in stream operation lambda to separate stream step.
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Extract variable 'l' to separate stream step" "true"
|
||||
import java.util.*;
|
||||
import java.util.stream.*;
|
||||
|
||||
public class Test {
|
||||
Object[] testBoxed(int[] x) {
|
||||
return Arrays.stream(x).asLongStream().boxed().toArray();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user