Deprecate DOMDataTreeProducer-related classes 61/95161/6
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 14 Feb 2021 09:00:07 +0000 (10:00 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 19 Mar 2021 08:55:36 +0000 (09:55 +0100)
DOMDataTreeProducer is being removed by upstream, deprecate our
constructs relying on it.

JIRA: CONTROLLER-1976
Change-Id: Ib1d6d84a2023bdb9964b6fa2d337924a7359e459
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
45 files changed:
opendaylight/md-sal/cds-dom-api/src/main/java/org/opendaylight/controller/cluster/dom/api/CDSDataTreeProducer.java
opendaylight/md-sal/cds-dom-api/src/main/java/org/opendaylight/controller/cluster/dom/api/CDSShardAccess.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/ClientTransaction.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/ClientTransactionCursor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/CDSShardAccessImpl.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DOMDataTreeShardCreationFailedException.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardChangePublisher.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardFactory.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardFrontend.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardModification.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardModificationContext.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardModificationCursor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardModificationFactory.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardModificationFactoryBuilder.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardRegistration.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardedDOMDataTree.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/LookupTask.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/OSGiDistributedShardedDOMDataTree.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/PrefixedShardConfigUpdateHandler.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/PrefixedShardConfigWriter.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/RoleChangeListenerActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/ShardProxyProducer.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/ShardProxyTransaction.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/ShardedDataTreeActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/ShardingServiceAddressResolver.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/InitConfigListener.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/LookupPrefixShard.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/NotifyProducerCreated.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/NotifyProducerRemoved.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/PrefixShardCreated.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/PrefixShardRemovalLookup.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/PrefixShardRemoved.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/ProducerCreated.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/ProducerRemoved.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/StartConfigShardLookup.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/ClientTransactionCursorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/sharding/CDSShardAccessImplTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/sharding/DistributedShardFrontendTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/sharding/DistributedShardedDOMDataTreeRemotingTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/sharding/DistributedShardedDOMDataTreeTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/sharding/RoleChangeListenerActorTest.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/IdIntsDOMDataTreeLIstener.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/PrefixLeaderHandler.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/PrefixShardHandler.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/ProduceTransactionsHandler.java

index 5aa88a2..6ac2f92 100644 (file)
@@ -19,6 +19,7 @@ import org.opendaylight.mdsal.dom.api.DOMDataTreeProducer;
  * @author Robert Varga
  */
 @Beta
+@Deprecated(forRemoval = true)
 public interface CDSDataTreeProducer extends DOMDataTreeProducer {
     /**
      * Return a {@link CDSShardAccess} handle. This handle will remain valid
index c706d99..5a28e69 100644 (file)
@@ -64,6 +64,7 @@ public class ClientTransaction extends AbstractClientHandle<AbstractProxyTransac
         return ensureProxy(path);
     }
 
+    @Deprecated(forRemoval = true)
     public DOMDataTreeWriteCursor openCursor() {
         Preconditions.checkState(cursor == null, "Transaction %s has open cursor", getIdentifier());
         cursor = new ClientTransactionCursor(this);
index 8c32a59..3aeac6a 100644 (file)
@@ -21,6 +21,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
  *
  * @author Robert Varga
  */
+@Deprecated(forRemoval = true)
 final class ClientTransactionCursor implements DOMDataTreeWriteCursor {
     private YangInstanceIdentifier current = YangInstanceIdentifier.empty();
     private final ClientTransaction parent;
index 3007595..0e84d04 100644 (file)
@@ -51,6 +51,7 @@ import scala.concurrent.Future;
  * creates instances of this class has to call {@link #close()} once it is no
  * longer valid.
  */
+@Deprecated(forRemoval = true)
 final class CDSShardAccessImpl implements CDSShardAccess, LeaderLocationListener, AutoCloseable {
     private static final Logger LOG = LoggerFactory.getLogger(CDSShardAccessImpl.class);
 
@@ -164,7 +165,7 @@ final class CDSShardAccessImpl implements CDSShardAccess, LeaderLocationListener
 
         listeners.add(listener);
 
-        return new LeaderLocationListenerRegistration<L>() {
+        return new LeaderLocationListenerRegistration<>() {
             @Override
             public L getInstance() {
                 return listener;
index c9b2c30..f69bf06 100644 (file)
@@ -14,6 +14,7 @@ import org.eclipse.jdt.annotation.NonNull;
  * Exception thrown when there was a at any point during the creation of a shard via {@link DistributedShardFactory}.
  */
 @Beta
+@Deprecated(forRemoval = true)
 public class DOMDataTreeShardCreationFailedException extends Exception {
     private static final long serialVersionUID = 1L;
 
index bcb73db..db8e1ed 100644 (file)
@@ -45,6 +45,7 @@ import org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaValidationFai
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@Deprecated(forRemoval = true)
 public class DistributedShardChangePublisher
         extends AbstractRegistrationTree<AbstractDOMDataTreeChangeListenerRegistration<?>>
         implements DOMStoreTreeChangePublisher {
index fba71ab..c3c3a25 100644 (file)
@@ -20,6 +20,7 @@ import org.opendaylight.mdsal.dom.api.DOMDataTreeShardingConflictException;
  * shard/replicas that come along with it.
  */
 @Beta
+@Deprecated(forRemoval = true)
 public interface DistributedShardFactory {
     /**
      * Register a new shard that is rooted at the desired prefix with replicas on the provided members.
index 4d7f4ef..81322cb 100644 (file)
@@ -35,6 +35,7 @@ import org.slf4j.LoggerFactory;
 /**
  * Proxy implementation of a shard that creates forwarding producers to the backend shard.
  */
+@Deprecated(forRemoval = true)
 class DistributedShardFrontend implements ReadableWriteableDOMDataTreeShard {
 
     private static final Logger LOG = LoggerFactory.getLogger(DistributedShardFrontend.class);
index 1592dc7..25fab74 100644 (file)
@@ -24,6 +24,7 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgum
  * Shard modification that consists of the whole shard context, provides cursors which correctly delegate to subshards
  * if any are present.
  */
+@Deprecated(forRemoval = true)
 public class DistributedShardModification extends WriteableNodeWithSubshard {
 
     private final DistributedShardModificationContext context;
index 9d51684..5b3c531 100644 (file)
@@ -16,10 +16,11 @@ import org.opendaylight.mdsal.dom.spi.store.DOMStoreThreePhaseCommitCohort;
 /**
  * The context for a single shards modification, keeps a ClientTransaction so it can route requests correctly.
  */
+@Deprecated(forRemoval = true)
 public class DistributedShardModificationContext {
 
-    private ClientTransaction transaction;
-    private DOMDataTreeIdentifier identifier;
+    private final ClientTransaction transaction;
+    private final DOMDataTreeIdentifier identifier;
     private DOMDataTreeWriteCursor cursor;
 
     public DistributedShardModificationContext(final ClientTransaction transaction,
index 37ccf60..ed77107 100644 (file)
@@ -5,7 +5,6 @@
  * 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.cluster.sharding;
 
 import org.opendaylight.mdsal.dom.spi.shard.AbstractDataModificationCursor;
@@ -15,9 +14,10 @@ import org.opendaylight.mdsal.dom.spi.shard.WriteCursorStrategy;
  * Internal cursor implementation consisting of WriteCursorStrategies which forwards writes to foreign modifications
  * if any.
  */
+@Deprecated(forRemoval = true)
 public class DistributedShardModificationCursor extends AbstractDataModificationCursor<DistributedShardModification> {
 
-    private ShardProxyTransaction parent;
+    private final ShardProxyTransaction parent;
 
     public DistributedShardModificationCursor(final DistributedShardModification root,
                                               final ShardProxyTransaction parent) {
index 37ac32a..f7bec40 100644 (file)
@@ -21,6 +21,7 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgum
 /**
  * Factory for {@link DistributedShardModification}.
  */
+@Deprecated(forRemoval = true)
 public final class DistributedShardModificationFactory {
     private final Map<DOMDataTreeIdentifier, ForeignShardModificationContext> childShards;
     private final Map<PathArgument, WriteableModificationNode> children;
index 42b9723..93e4d96 100644 (file)
@@ -5,7 +5,6 @@
  * 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.cluster.sharding;
 
 import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
@@ -14,6 +13,7 @@ import org.opendaylight.mdsal.dom.spi.shard.AbstractShardModificationFactoryBuil
 /**
  * Builder for {@link DistributedShardModificationFactory}.
  */
+@Deprecated(forRemoval = true)
 public class DistributedShardModificationFactoryBuilder
         extends AbstractShardModificationFactoryBuilder<DistributedShardModificationFactory> {
 
index e711bd6..bb51203 100644 (file)
@@ -97,6 +97,7 @@ import scala.concurrent.duration.FiniteDuration;
  * A layer on top of DOMDataTreeService that distributes producer/shard registrations to remote nodes via
  * {@link ShardedDataTreeActor}. Also provides QoL method for addition of prefix based clustered shard into the system.
  */
+@Deprecated(forRemoval = true)
 public class DistributedShardedDOMDataTree implements DOMDataTreeService, DOMDataTreeShardingService,
         DistributedShardFactory {
 
index ad4215c..244833d 100644 (file)
@@ -17,6 +17,7 @@ import org.eclipse.jdt.annotation.Nullable;
  * Base class for lookup tasks. Lookup tasks are supposed to run repeatedly until successful lookup or maximum retries
  * are hit. This class is NOT thread-safe.
  */
+@Deprecated(forRemoval = true)
 abstract class LookupTask implements Runnable {
     private final int maxRetries;
     private final ActorRef replyTo;
index da92b2d..5348111 100644 (file)
@@ -31,6 +31,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 @Component(immediate = true, property = "type=default")
+@Deprecated(forRemoval = true)
 public final class OSGiDistributedShardedDOMDataTree
         implements DOMDataTreeService, DOMDataTreeShardingService, DistributedShardFactory {
     private static final Logger LOG = LoggerFactory.getLogger(OSGiDistributedShardedDOMDataTree.class);
index 3e5a3ad..44b68a9 100644 (file)
@@ -46,6 +46,7 @@ import org.slf4j.LoggerFactory;
  * notifies handling actor with {@link PrefixShardCreated} and
  * {@link PrefixShardRemoved} messages.
  */
+@Deprecated(forRemoval = true)
 public class PrefixedShardConfigUpdateHandler {
 
     private static final Logger LOG = LoggerFactory.getLogger(PrefixedShardConfigUpdateHandler.class);
index dcb879b..6d9c8e9 100644 (file)
@@ -45,6 +45,7 @@ import org.slf4j.LoggerFactory;
  * by {@link DistributedShardedDOMDataTree} for updating
  * prefix-shard-configuration upon creating and de-spawning prefix-based shards.
  */
+@Deprecated(forRemoval = true)
 class PrefixedShardConfigWriter {
 
     private static final Logger LOG = LoggerFactory.getLogger(PrefixedShardConfigWriter.class);
index 8ad10bc..f8e1918 100644 (file)
@@ -25,6 +25,7 @@ import org.opendaylight.controller.cluster.notifications.RoleChangeNotification;
  * {@link LeaderLocationListener#onLeaderLocationChanged(LeaderLocation)}
  * events.
  */
+@Deprecated(forRemoval = true)
 public final class RoleChangeListenerActor extends AbstractUntypedActor {
     private final LeaderLocationListener leaderLocationListener;
     private final ActorRef roleChangeNotifier;
index 602566b..2990c62 100644 (file)
@@ -20,6 +20,7 @@ import org.opendaylight.mdsal.dom.spi.shard.DOMDataTreeShardWriteTransaction;
 /**
  * Proxy producer implementation that creates transactions that forward all calls to {@link DataStoreClient}.
  */
+@Deprecated(forRemoval = true)
 class ShardProxyProducer implements DOMDataTreeShardProducer {
     private final DOMDataTreeIdentifier shardRoot;
     private final Collection<DOMDataTreeIdentifier> prefixes;
index c0d32c9..fde000f 100644 (file)
@@ -38,6 +38,7 @@ import org.slf4j.LoggerFactory;
  * Proxy {@link DOMDataTreeShardWriteTransaction} that creates a proxy cursor that translates all calls into
  * {@link ClientTransaction} calls.
  */
+@Deprecated(forRemoval = true)
 class ShardProxyTransaction implements DOMDataTreeShardWriteTransaction {
 
     private static final Logger LOG = LoggerFactory.getLogger(ShardProxyTransaction.class);
index f7c0d22..52c3d25 100644 (file)
@@ -74,6 +74,7 @@ import scala.concurrent.duration.FiniteDuration;
  * Actor that tracks currently open producers/shards on remote nodes and handles notifications of remote
  * nodes of newly open producers/shards on the local node.
  */
+@Deprecated(forRemoval = true)
 public class ShardedDataTreeActor extends AbstractUntypedPersistentActor {
 
     private static final Logger LOG = LoggerFactory.getLogger(ShardedDataTreeActor.class);
index 379940d..1ad5c38 100644 (file)
@@ -20,6 +20,7 @@ import org.opendaylight.controller.cluster.access.concepts.MemberName;
 /**
  * Resolver for remote {@link ShardedDataTreeActor}'s.
  */
+@Deprecated(forRemoval = true)
 public class ShardingServiceAddressResolver {
 
     private final ConcurrentMap<MemberName, Address> memberNameToAddress = new ConcurrentHashMap<>();
index fbdf3f8..9970e05 100644 (file)
@@ -12,6 +12,7 @@ package org.opendaylight.controller.cluster.sharding.messages;
  * Message sent to the local ShardManager, once the shard configuration shard is ready and the ShardManager should
  * start its listener.
  */
+@Deprecated(forRemoval = true)
 public final class InitConfigListener {
 
     public static final InitConfigListener INSTANCE = new InitConfigListener();
index 833fd0e..0c25697 100644 (file)
@@ -20,6 +20,7 @@ import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
  * with success/failure based on the attempt result.
  */
 @Beta
+@Deprecated(forRemoval = true)
 public class NotifyProducerCreated implements Serializable {
     private static final long serialVersionUID = 1L;
     private final Collection<DOMDataTreeIdentifier> subtrees;
index 18af2c7..b93bbc6 100644 (file)
@@ -20,6 +20,7 @@ import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
  * with success/failure based on the attempt result. If the producer doesn't exist on this node report Success.
  */
 @Beta
+@Deprecated(forRemoval = true)
 public class NotifyProducerRemoved implements Serializable {
     private static final long serialVersionUID = 1L;
     private final Collection<DOMDataTreeIdentifier> subtrees;
index de49217..87daea2 100644 (file)
@@ -16,6 +16,7 @@ import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
  * Sent to the local {@link ShardedDataTreeActor} to initiate the lookup of the shard, once the shard is removed from
  * the system entirely the actor responds with a success.
  */
+@Deprecated(forRemoval = true)
 public class PrefixShardRemovalLookup {
     private final DOMDataTreeIdentifier prefix;
 
index 22e5dbf..7ba9648 100644 (file)
@@ -14,9 +14,10 @@ import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
  * Message that should be sent to ShardedDataTreeActor when the lookup of the prefix config shard should begin.
  * Replied to with Succes once the shard has a leader.
  */
+@Deprecated(forRemoval = true)
 public class StartConfigShardLookup {
 
-    private LogicalDatastoreType type;
+    private final LogicalDatastoreType type;
 
     public StartConfigShardLookup(final LogicalDatastoreType type) {
         this.type = type;
index 2e7f8f3..b298762 100644 (file)
@@ -20,6 +20,7 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
 import org.opendaylight.yangtools.yang.data.impl.schema.Builders;
 
+@Deprecated(forRemoval = true)
 public class ClientTransactionCursorTest {
 
     private static final QName NODE_1 = QName.create("ns-1", "node-1");
index 3c7e8cd..e79222f 100644 (file)
@@ -39,6 +39,7 @@ import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
 import scala.concurrent.Future;
 import scala.concurrent.duration.FiniteDuration;
 
+@Deprecated(forRemoval = true)
 public class CDSShardAccessImplTest extends AbstractActorTest {
 
     private static final DOMDataTreeIdentifier TEST_ID =
index 795705e..aba233f 100644 (file)
@@ -52,6 +52,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
 import org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNodes;
 import org.opendaylight.yangtools.yang.data.impl.schema.builder.impl.ImmutableContainerNodeBuilder;
 
+@Deprecated(forRemoval = true)
 public class DistributedShardFrontendTest {
 
     private static final DOMDataTreeIdentifier ROOT =
index 6f4611f..749d699 100644 (file)
@@ -55,6 +55,7 @@ import org.opendaylight.yangtools.yang.data.impl.schema.builder.impl.ImmutableLe
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@Deprecated(forRemoval = true)
 public class DistributedShardedDOMDataTreeRemotingTest extends AbstractTest {
 
     private static final Logger LOG = LoggerFactory.getLogger(DistributedShardedDOMDataTreeRemotingTest.class);
index 8f9002c..602e2cc 100644 (file)
@@ -93,6 +93,7 @@ import org.opendaylight.yangtools.yang.data.impl.schema.builder.impl.ImmutableMa
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@Deprecated(forRemoval = true)
 public class DistributedShardedDOMDataTreeTest extends AbstractTest {
 
     private static final Logger LOG = LoggerFactory.getLogger(DistributedShardedDOMDataTreeRemotingTest.class);
index ca8c05d..74b721c 100644 (file)
@@ -25,6 +25,7 @@ import org.opendaylight.controller.cluster.dom.api.LeaderLocationListener;
 import org.opendaylight.controller.cluster.notifications.LeaderStateChanged;
 import org.opendaylight.controller.cluster.notifications.RegisterRoleChangeListener;
 
+@Deprecated(forRemoval = true)
 public class RoleChangeListenerActorTest extends AbstractActorTest {
 
     @Test
index 574952e..3c88f99 100644 (file)
@@ -25,6 +25,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@Deprecated(forRemoval = true)
 public class IdIntsDOMDataTreeLIstener implements DOMDataTreeListener {
 
     private static final Logger LOG = LoggerFactory.getLogger(IdIntsDOMDataTreeLIstener.class);
@@ -67,7 +68,7 @@ public class IdIntsDOMDataTreeLIstener implements DOMDataTreeListener {
     }
 
     @Override
-    public void onDataTreeFailed(Collection<DOMDataTreeListeningException> causes) {
+    public void onDataTreeFailed(final Collection<DOMDataTreeListeningException> causes) {
 
     }