X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fapi%2FDataTreeModification.java;h=0b6c6a95c6801f1b06fff05f1a7be6ca90ab6a8a;hp=aac51a6a4cfa349d4c5bf602c71c12a169dd8395;hb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;hpb=686d381ea589ebf33bcfb0bbc7048ffe242749c4 diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeModification.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeModification.java index aac51a6a4c..0b6c6a95c6 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeModification.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeModification.java @@ -3,12 +3,11 @@ * * 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. + * 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,8 +15,10 @@ import org.opendaylight.yangtools.yang.binding.DataObject; * * @author Tony Tkacik <ttkacik@cisco.com> * + * @deprecated Use {@link org.opendaylight.mdsal.binding.api.DataTreeModification} instead. */ -public interface DataTreeModification { +@Deprecated(forRemoval = true) +public interface DataTreeModification { /** * Get the modification root path. This is the path of the root node @@ -25,13 +26,12 @@ public interface DataTreeModification { * * @return absolute path of the root node */ - @Nonnull DataTreeIdentifier getRootPath(); + @NonNull DataTreeIdentifier getRootPath(); /** * Get the modification root node. * * @return modification root node */ - @Nonnull DataObjectModification getRootNode(); - + @NonNull DataObjectModification getRootNode(); }