Remove deprecated MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-dom-spi / src / main / java / org / opendaylight / controller / sal / core / spi / data / ForwardingDOMStoreThreePhaseCommitCohort.java
diff --git a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/ForwardingDOMStoreThreePhaseCommitCohort.java b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/ForwardingDOMStoreThreePhaseCommitCohort.java
deleted file mode 100644 (file)
index da7c04a..0000000
+++ /dev/null
@@ -1,46 +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.sal.core.spi.data;
-
-import com.google.common.annotations.Beta;
-import com.google.common.collect.ForwardingObject;
-import com.google.common.util.concurrent.ListenableFuture;
-
-/**
- * Abstract base class for {@link DOMStoreThreePhaseCommitCohort} implementations,
- * which forward most of their functionality to a backend {@link #delegate()}.
- *
- * @deprecated Use {@link org.opendaylight.mdsal.dom.spi.store.ForwardingDOMStoreThreePhaseCommitCohort} instead.
- */
-@Deprecated(forRemoval = true)
-@Beta
-public abstract class ForwardingDOMStoreThreePhaseCommitCohort extends ForwardingObject
-        implements DOMStoreThreePhaseCommitCohort {
-    @Override
-    protected abstract DOMStoreThreePhaseCommitCohort delegate();
-
-    @Override
-    public ListenableFuture<Boolean> canCommit() {
-        return delegate().canCommit();
-    }
-
-    @Override
-    public ListenableFuture<Void> preCommit() {
-        return delegate().preCommit();
-    }
-
-    @Override
-    public ListenableFuture<Void> abort() {
-        return delegate().abort();
-    }
-
-    @Override
-    public ListenableFuture<Void> commit() {
-        return delegate().commit();
-    }
-}