mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 01:20:53 +07:00
16 lines
497 B
Java
16 lines
497 B
Java
class SomeUtil {
|
|
public static <T> Iterable<T> iterable(final Iterable<T> enumeration) {
|
|
return null;
|
|
}
|
|
|
|
void a(ServletRequest request){
|
|
for (String param : SomeUtil.<String>iterable<error descr="'iterable(java.lang.Iterable<java.lang.String>)' in 'SomeUtil' cannot be applied to '(java.lang.Iterable<java.lang.Object>)'">(request.getParameterNames())</error>) {}
|
|
}
|
|
|
|
private class ServletRequest {
|
|
public Iterable<Object> getParameterNames() {
|
|
return null;
|
|
}
|
|
}
|
|
}
|