Returned collection type changed slightly, fix that up.
Change-Id: Ib0fede6f8646692d8a9c06740572f51063ba8ccf
JIRA: MDSAL-342
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
@Override
public synchronized void onDataTreeChanged(final Collection<DataTreeModification<OdlBmpMonitors>> changes) {
final DataTreeModification<OdlBmpMonitors> dataTreeModification = Iterables.getOnlyElement(changes);
- final Collection<DataObjectModification<? extends DataObject>> rootNode = dataTreeModification.getRootNode()
- .getModifiedChildren();
+ final Collection<? extends DataObjectModification<? extends DataObject>> rootNode =
+ dataTreeModification.getRootNode().getModifiedChildren();
if (rootNode.isEmpty()) {
return;
}