mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
retrieve collection type from capture in foreach stmt (IDEA-151406)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
|
||||
class Test {
|
||||
private void foo(Map.Entry<Integer, ? extends Collection<String>> entry) {
|
||||
for (String propertyName : entry.getValue()) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user