Terminally-deprecate with-parent put()/merge() operations 38/84838/7
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 1 Oct 2019 10:19:56 +0000 (12:19 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 1 Oct 2019 12:19:36 +0000 (12:19 +0000)
These have been deprecated for some time now, schedule them for
removal.

Change-Id: Id3e6f44add83d37f699fb5642161b552ce8a5465
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-api/src/main/java/org/opendaylight/mdsal/binding/api/WriteOperations.java

index da346e2d710b0799df9c5e8953348134a4423fb5..956b9b4beba40226b7e405ea7a9b95667483387d 100644 (file)
@@ -61,7 +61,7 @@ public interface WriteOperations {
      *             {@link #mergeParentStructurePut(LogicalDatastoreType, InstanceIdentifier, DataObject)}
      *             instead.
      */
-    @Deprecated
+    @Deprecated(forRemoval = true)
     default <T extends DataObject> void put(@NonNull LogicalDatastoreType store, @NonNull InstanceIdentifier<T> path,
             @NonNull T data, boolean createMissingParents) {
         if (createMissingParents) {
@@ -134,7 +134,7 @@ public interface WriteOperations {
      *             {@link #mergeParentStructureMerge(LogicalDatastoreType, InstanceIdentifier, DataObject)}
      *             instead.
      */
-    @Deprecated
+    @Deprecated(forRemoval = true)
     default <T extends DataObject> void merge(@NonNull LogicalDatastoreType store, @NonNull InstanceIdentifier<T> path,
             @NonNull T data, boolean createMissingParents) {
         if (createMissingParents) {
@@ -190,7 +190,7 @@ public interface WriteOperations {
      * @deprecated To be removed with {@link #merge(LogicalDatastoreType, InstanceIdentifier, DataObject, boolean)}
      *             and {@link #put(LogicalDatastoreType, InstanceIdentifier, DataObject, boolean)}.
      */
-    @Deprecated
+    @Deprecated(forRemoval = true)
     boolean CREATE_MISSING_PARENTS = true;
 
     /**
@@ -199,6 +199,6 @@ public interface WriteOperations {
      * @deprecated To be removed with {@link #merge(LogicalDatastoreType, InstanceIdentifier, DataObject, boolean)}
      *             and {@link #put(LogicalDatastoreType, InstanceIdentifier, DataObject, boolean)}.
      */
-    @Deprecated
+    @Deprecated(forRemoval = true)
     boolean FAIL_ON_MISSING_PARENTS = false;
 }