Adjust for API change 07/74607/2
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 28 Jul 2018 09:50:45 +0000 (11:50 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 28 Jul 2018 10:58:53 +0000 (12:58 +0200)
Returned collection type changed slightly, fix that up.

Change-Id: Ib0fede6f8646692d8a9c06740572f51063ba8ccf
JIRA: MDSAL-342
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bmp/bmp-impl/src/main/java/org/opendaylight/protocol/bmp/impl/config/BmpDeployerImpl.java

index eb1a2966ceb5438a57dfe57e4ceeb3cdd6273f76..bfb9a525858bf8ec012d335825134997f463b3e3 100644 (file)
@@ -91,8 +91,8 @@ public final class BmpDeployerImpl implements ClusteredDataTreeChangeListener<Od
     @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;
         }