Deprecate resetAugmenting() for removal 96/86596/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 28 Dec 2019 09:59:19 +0000 (10:59 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 28 Dec 2019 09:59:19 +0000 (10:59 +0100)
These methods were forgotten in the 4.0.0 transition, mark them
as deprecated-for-removal. A follow-up patch will remove them in
the 5.0.0 time frame.

Change-Id: I1920129e01cef2bf8ee8679d579679dd986d0ed5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveDataSchemaNode.java
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveSimpleDataNodeContainer.java

index f085bcd5187c47bce759221bc3abe728b4b96982..10c3f499cbb7261f8e3c2d5a9e220d9ca62770bb 100644 (file)
@@ -69,7 +69,7 @@ public abstract class AbstractEffectiveDataSchemaNode<D extends DeclaredStatemen
      * @deprecated This method is a violation of immutable contract and is a side-effect of bad/incomplete lifecycle,
      *             which needs to be fixed. Do not introduce new callers. This deficiency is tracked in YANGTOOLS-724.
      */
-    @Deprecated
+    @Deprecated(forRemoval = true)
     public final void resetAugmenting() {
         // Intentional no-op
     }
index 2a663e37d57ecc4ee17dfc6d1b95803831441778..d7bab44548eb8f8d46c3d6d85869b873f687639d 100644 (file)
@@ -107,7 +107,7 @@ public abstract class AbstractEffectiveSimpleDataNodeContainer<D extends Declare
      * @deprecated This method is a violation of immutable contract and is a side-effect of bad/incomplete lifecycle,
      *             which needs to be fixed. Do not introduce new callers. This deficiency is tracked in YANGTOOLS-724.
      */
-    @Deprecated
+    @Deprecated(forRemoval = true)
     public final void resetAugmenting() {
         // Intentional no-op
     }