mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 20:30:42 +07:00
Now both options (when unchecked) only disable warning and batch-mode replacement, but the action is still available as an intention.
11 lines
173 B
Java
11 lines
173 B
Java
// "Replace with forEach" "INFORMATION"
|
|
import java.util.*;
|
|
|
|
class A {
|
|
void fun(List<String>... lists) {
|
|
Arrays.stream(lists).forEach(list -> list.add(""));
|
|
}
|
|
|
|
|
|
|
|
} |