mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 20:45:15 +07:00
11 lines
286 B
Java
11 lines
286 B
Java
// "Replace 'stream().forEach()' with 'forEach()' (may change semantics)" "true"
|
|
|
|
import java.util.Arrays;
|
|
import java.util.Collection;
|
|
|
|
class Test {
|
|
void print() {
|
|
Collection<Character> def = Arrays.asList('d', 'e', 'f');
|
|
def.stream().forE<caret>ach(System.out::print);
|
|
}
|
|
} |