Merge "Refactor PCE networkanalyzer PceLink"
[transportpce.git] / pce / src / test / java / org / opendaylight / transportpce / pce / utils / NotificationPublishServiceMock.java
index 2bdc5107dd9f0ae32bf17e0b19b9b192418d4483..b958f3b8897409a8a2861de5df1e6cc4abd4aad3 100644 (file)
@@ -8,10 +8,8 @@
 package org.opendaylight.transportpce.pce.utils;
 
 import com.google.common.util.concurrent.ListenableFuture;
-
 import java.util.concurrent.TimeUnit;
-
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
+import org.opendaylight.mdsal.binding.api.NotificationPublishService;
 import org.opendaylight.yangtools.yang.binding.Notification;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -21,19 +19,19 @@ public class NotificationPublishServiceMock implements NotificationPublishServic
     private static final Logger LOG = LoggerFactory.getLogger(NotificationPublishServiceMock.class);
 
     @Override
-    public void putNotification(Notification notification) throws InterruptedException {
+    public void putNotification(Notification<?> notification) throws InterruptedException {
         LOG.info("putNotification");
     }
 
     @Override
-    public ListenableFuture<?> offerNotification(Notification notification) {
+    public ListenableFuture<?> offerNotification(Notification<?> notification) {
         LOG.info("offerNotification");
         throw new UnsupportedOperationException("offerNotification is not implemented");
     }
 
     @Override
-    public ListenableFuture<?> offerNotification(Notification notification, int timeout, TimeUnit unit)
-        throws InterruptedException {
+    public ListenableFuture<?> offerNotification(Notification<?> notification, int timeout, TimeUnit unit)
+            throws InterruptedException {
         LOG.info("offerNotification");
         throw new UnsupportedOperationException("offerNotification is not implemented");
     }