Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/afterDisableForArrays.java
Tagir Valeev 478cae19bf IDEA-170032 Replace with foreach is not proposed in alt-enter
Now both options (when unchecked) only disable warning and batch-mode replacement, but the action is still available as an intention.
2017-03-30 13:07:18 +07:00

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(""));
}
}