mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 04:43:02 +07:00
11 lines
294 B
Java
11 lines
294 B
Java
// "Replace Collection.stream().forEach() with Collection.forEach()" "true"
|
|
|
|
import java.util.Arrays;
|
|
import java.util.Collection;
|
|
|
|
class Test {
|
|
void print() {
|
|
Collection<Character> def = Arrays.asList('d', 'e', 'f');
|
|
def.st<caret>ream().forEach(c -> System.out.print(" " + c));
|
|
}
|
|
} |