mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
IDEA-170033 Support raw-types when converting Iterable.forEach to loop
This commit is contained in:
+6
@@ -25,6 +25,12 @@ public class Main {
|
||||
return collection;
|
||||
}
|
||||
|
||||
void testRawTypeSupport(List<List> list) {
|
||||
for (List l : list) {
|
||||
System.out.println(l.size());
|
||||
}
|
||||
}
|
||||
|
||||
public interface SomeInterface {
|
||||
|
||||
Set<? extends SomeInterface> nodes();
|
||||
|
||||
+4
@@ -19,6 +19,10 @@ public class Main {
|
||||
return collection;
|
||||
}
|
||||
|
||||
void testRawTypeSupport(List<List> list) {
|
||||
list.forEach(l -> System.out.println(l.size()));
|
||||
}
|
||||
|
||||
public interface SomeInterface {
|
||||
|
||||
Set<? extends SomeInterface> nodes();
|
||||
|
||||
Reference in New Issue
Block a user