mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
replace with foreach: disable for arrays of collection type (IDEA-160323)
This commit is contained in:
+13
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user