mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
calls on raw type: need erasure
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
class Bar {
|
||||
private List<Property> getChildren(Property property, PropertiesContainer c) {
|
||||
return property.getChildren(c);
|
||||
}
|
||||
|
||||
static class PropertiesContainer<M extends Property> {}
|
||||
|
||||
}
|
||||
|
||||
class Property<K> {
|
||||
public List<? extends Property<K>> getChildren(K container) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user