Remove AugmentToChoiceNamespace 35/84835/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 1 Oct 2019 08:44:33 +0000 (10:44 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 1 Oct 2019 09:07:26 +0000 (11:07 +0200)
This namespace has been deprecated for removal, as it is not used
anywhere. Remove it now.

Change-Id: Ia199971ab5651fbf4eac74528668b74fd738e403
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-spi/src/main/java/org/opendaylight/yangtools/yang/parser/spi/source/AugmentToChoiceNamespace.java [deleted file]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/source/NamespaceTest.java

diff --git a/yang/yang-parser-spi/src/main/java/org/opendaylight/yangtools/yang/parser/spi/source/AugmentToChoiceNamespace.java b/yang/yang-parser-spi/src/main/java/org/opendaylight/yangtools/yang/parser/spi/source/AugmentToChoiceNamespace.java
deleted file mode 100644 (file)
index 8162e2f..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * 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
- */
-package org.opendaylight.yangtools.yang.parser.spi.source;
-
-import org.eclipse.jdt.annotation.NonNull;
-import org.opendaylight.yangtools.yang.model.api.meta.IdentifierNamespace;
-import org.opendaylight.yangtools.yang.parser.spi.meta.NamespaceBehaviour;
-import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext;
-
-/**
- * namespace key class for storing augment nodes which are going to be augmented as
- * shortHand case nodes into choice node.
- *
- * @deprecated This namespace is no longer used anywhere and not supported by the default reactor. It is scheduled
- *             for removal.
- */
-@Deprecated
-public interface AugmentToChoiceNamespace extends IdentifierNamespace<StmtContext<?, ?, ?>, Boolean> {
-    NamespaceBehaviour<StmtContext<?, ?, ?>, Boolean, @NonNull AugmentToChoiceNamespace> BEHAVIOUR =
-            NamespaceBehaviour.treeScoped(AugmentToChoiceNamespace.class);
-
-}
index 44e7f15d9a9332b9d2b1872bb95cafc0c8b9e33e..5b433a5459ba4a6ad018dc8f073ea3d6f90507f2 100644 (file)
@@ -16,7 +16,6 @@ public class NamespaceTest {
     public void testNamespaces() {
         // Touch behaviors
         // FIXME: add more checks/split this up when behaviours are testable
-        assertNotNull(AugmentToChoiceNamespace.BEHAVIOUR);
         assertNotNull(BelongsToModuleContext.BEHAVIOUR);
         assertNotNull(BelongsToPrefixToModuleCtx.BEHAVIOUR);
         assertNotNull(BelongsToPrefixToModuleName.BEHAVIOUR);