replace with foreach: disable for arrays of collection type (IDEA-160323)

This commit is contained in:
Anna Kozlova
2016-08-26 11:53:30 +03:00
parent 5e8728b05c
commit 98687b3c65
2 changed files with 14 additions and 1 deletions
@@ -0,0 +1,13 @@
// "Replace with forEach" "false"
import java.util.*;
class A {
void fun(List<String>... lists) {
for (List<String> list : li<caret>sts) {
System.out.println(list);
}
}
}