Migrate OSGI compendium reference
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / md / sal / binding / api / DataTreeModification.java
index 374c185a1edc7b9d6f01baedefc04771042f313f..0b6c6a95c6801f1b06fff05f1a7be6ca90ab6a8a 100644 (file)
@@ -5,10 +5,9 @@
  * 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.api;
 
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.yang.binding.DataObject;
 
 /**
@@ -16,7 +15,9 @@ import org.opendaylight.yangtools.yang.binding.DataObject;
  *
  * @author Tony Tkacik <ttkacik@cisco.com>
  *
+ * @deprecated Use {@link org.opendaylight.mdsal.binding.api.DataTreeModification} instead.
  */
+@Deprecated(forRemoval = true)
 public interface DataTreeModification<T extends DataObject> {
 
     /**
@@ -25,13 +26,12 @@ public interface DataTreeModification<T extends DataObject> {
      *
      * @return absolute path of the root node
      */
-    @Nonnull DataTreeIdentifier<T> getRootPath();
+    @NonNull DataTreeIdentifier<T> getRootPath();
 
     /**
      * Get the modification root node.
      *
      * @return modification root node
      */
-    @Nonnull DataObjectModification<T> getRootNode();
-
+    @NonNull DataObjectModification<T> getRootNode();
 }