mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
check ref in foreach iterated value (IDEA-59874)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.*;
|
||||
class Test {
|
||||
void foo(@NotNull List requests){
|
||||
for (Object request : requests) {
|
||||
}
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import java.util.*;
|
||||
class Test {
|
||||
void foo(List requests){
|
||||
for (Object request : requests) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user