mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-04 20:28:00 +08:00
PL-10694 Remove ? extends T typing from CollectionChangeListener collectionChanged
This commit is contained in:
parent
066c080070
commit
86ff7dafb6
@ -814,9 +814,10 @@ public class CollectionPropertyDatasourceImpl<T extends Entity<K>, K>
|
||||
return;
|
||||
}
|
||||
if (collectionChangeListeners != null && !collectionChangeListeners.isEmpty()) {
|
||||
CollectionChangeEvent<T, K> event = new CollectionChangeEvent<>(this, operation, items);
|
||||
CollectionChangeEvent event = new CollectionChangeEvent<>(this, operation, items);
|
||||
|
||||
for (CollectionChangeListener<? super T, K> listener : new ArrayList<>(collectionChangeListeners)) {
|
||||
//noinspection unchecked
|
||||
listener.collectionChanged(event);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user