mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
resolve on nested captures (IDEA-156170)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
class Test {
|
||||
public void entitySetChanged(EntitySetEvent<? extends Number> event) {
|
||||
event.getUpdatedEntities().forEach(entity -> {
|
||||
entity.intValue();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
interface EntitySetEvent<V> {
|
||||
Collection<? extends V> getUpdatedEntities();
|
||||
}
|
||||
Reference in New Issue
Block a user