PL-10694 Remove ? extends T typing from CollectionChangeListener collectionChanged

This commit is contained in:
Yuriy Artamonov 2018-04-18 13:36:30 +04:00
parent 066c080070
commit 86ff7dafb6

View File

@ -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);
}
}