Remove resetAugmenting() methods 97/86597/2
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 28 Dec 2019 10:00:36 +0000 (11:00 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 15 Jan 2020 11:09:23 +0000 (11:09 +0000)
These have been deprecated for some time and have no effect
whatsoever. Remove them.

Change-Id: Idca888e4a9de0fa2efda654f0f503b896a2d563c
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 10c3f499cbb7261f8e3c2d5a9e220d9ca62770bb..88956b96b49628e72465a347c5476db531854964 100644 (file)
@@ -62,15 +62,4 @@ public abstract class AbstractEffectiveDataSchemaNode<D extends DeclaredStatemen
     public final Optional<RevisionAwareXPath> getWhenCondition() {
         return Optional.ofNullable(whenCondition);
     }
-
-    /**
-     * Reset {@link #isAugmenting()} to false.
-     *
-     * @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(forRemoval = true)
-    public final void resetAugmenting() {
-        // Intentional no-op
-    }
 }
index d7bab44548eb8f8d46c3d6d85869b873f687639d..8bf9b59fb5ad7ea1a153406ff6de75cb338671ed 100644 (file)
@@ -100,15 +100,4 @@ public abstract class AbstractEffectiveSimpleDataNodeContainer<D extends Declare
     public final Optional<RevisionAwareXPath> getWhenCondition() {
         return Optional.ofNullable(whenCondition);
     }
-
-    /**
-     * Reset {@link #isAugmenting()} to false.
-     *
-     * @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(forRemoval = true)
-    public final void resetAugmenting() {
-        // Intentional no-op
-    }
 }