X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fapi%2FDataTreeModification.java;h=0b6c6a95c6801f1b06fff05f1a7be6ca90ab6a8a;hb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;hp=8163baceac95b449fdc57c50ad81c2d7b2322ddb;hpb=59e84273be97b1115fb3fb0f06364b7491a40385;p=controller.git 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 8163baceac..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,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 { /** @@ -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(); }