Remove deprecated MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / md / sal / dom / api / DOMEvent.java
diff --git a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMEvent.java b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMEvent.java
deleted file mode 100644 (file)
index 6210744..0000000
+++ /dev/null
@@ -1,35 +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.dom.api;
-
-import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
-import java.time.Instant;
-import java.util.Date;
-
-/**
- * Generic event interface.
- * @deprecated Use {@link org.opendaylight.mdsal.dom.api.DOMEvent} instead.
- */
-@Deprecated(forRemoval = true)
-@SuppressFBWarnings(value = "NM_SAME_SIMPLE_NAME_AS_INTERFACE", justification = "Migration")
-public interface DOMEvent extends org.opendaylight.mdsal.dom.api.DOMEvent {
-
-    @Override
-    default Instant getEventInstant() {
-        final Date eventTime = getEventTime();
-        return eventTime != null ? eventTime.toInstant() : null;
-    }
-
-    /**
-     * Get the time of the event occurrence.
-     *
-     * @return the event time
-     */
-    Date getEventTime();
-}