Remove deprecated MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / md / sal / binding / compat / HeliumNotificationServiceAdapter.java
diff --git a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/HeliumNotificationServiceAdapter.java b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/HeliumNotificationServiceAdapter.java
deleted file mode 100644 (file)
index c0c8989..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.md.sal.binding.compat;
-
-import org.opendaylight.controller.md.sal.binding.api.NotificationService;
-import org.opendaylight.yangtools.concepts.ListenerRegistration;
-import org.opendaylight.yangtools.yang.binding.Notification;
-import org.opendaylight.yangtools.yang.binding.NotificationListener;
-
-@Deprecated(forRemoval = true)
-public class HeliumNotificationServiceAdapter
-        implements org.opendaylight.controller.sal.binding.api.NotificationService, AutoCloseable {
-
-    private final NotificationService notificationService;
-
-    public HeliumNotificationServiceAdapter(NotificationService notificationService) {
-        this.notificationService = notificationService;
-    }
-
-    @Override
-    public <T extends Notification> ListenerRegistration<
-            org.opendaylight.controller.sal.binding.api.NotificationListener<T>> registerNotificationListener(
-            final Class<T> notificationType,
-            final org.opendaylight.controller.sal.binding.api.NotificationListener<T> listener) {
-        throw new UnsupportedOperationException("Not supported type of listener.");
-    }
-
-    @Override
-    public ListenerRegistration<NotificationListener> registerNotificationListener(
-            final NotificationListener listener) {
-        return notificationService.registerNotificationListener(listener);
-    }
-
-    @Override
-    public void close() throws Exception {
-    }
-}