From 6b32e198831a34ca6400ff536c2e5f7c085901ce Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sat, 28 Dec 2019 11:00:36 +0100 Subject: [PATCH] Remove resetAugmenting() methods These have been deprecated for some time and have no effect whatsoever. Remove them. Change-Id: Idca888e4a9de0fa2efda654f0f503b896a2d563c Signed-off-by: Robert Varga --- .../rfc7950/stmt/AbstractEffectiveDataSchemaNode.java | 11 ----------- .../AbstractEffectiveSimpleDataNodeContainer.java | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveDataSchemaNode.java b/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveDataSchemaNode.java index 10c3f499cb..88956b96b4 100644 --- a/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveDataSchemaNode.java +++ b/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveDataSchemaNode.java @@ -62,15 +62,4 @@ public abstract class AbstractEffectiveDataSchemaNode 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 - } } diff --git a/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveSimpleDataNodeContainer.java b/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveSimpleDataNodeContainer.java index d7bab44548..8bf9b59fb5 100644 --- a/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveSimpleDataNodeContainer.java +++ b/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/AbstractEffectiveSimpleDataNodeContainer.java @@ -100,15 +100,4 @@ public abstract class AbstractEffectiveSimpleDataNodeContainer 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 - } } -- 2.36.6