mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 04:20:56 +07:00
9 lines
239 B
Java
9 lines
239 B
Java
// "Extract variable 'y' to 'map' operation" "true-preview"
|
|
import java.util.*;
|
|
import java.util.stream.*;
|
|
|
|
public class Test {
|
|
void testRemoveMap() {
|
|
Stream.of("xyz").map(x -> x + x).map(y -> y).forEach(System.out::println);
|
|
}
|
|
} |