mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
a rough fix for dfa false positive with nested for loop over a reassigned array variable (IDEA-CR-25468)
This commit is contained in:
+9
@@ -9,4 +9,13 @@ class Foo {
|
||||
}
|
||||
}
|
||||
|
||||
void test3(final @Nullable Object @NotNull[]@NotNull[] values) {
|
||||
for (Object[] line : values) {
|
||||
line = new Object[]{"a"};
|
||||
for (Object item : line) {
|
||||
System.out.println(item.hashCode());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user