Deprecate PrefixToModule.DEFAULT_PREFIX 41/102141/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 17 Aug 2022 18:34:25 +0000 (20:34 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 17 Aug 2022 18:34:25 +0000 (20:34 +0200)
There are no users, we are removing this constant. If it re-emerges, it
will be its proper semantic point with proper binding towards
XMLContants.

Change-Id: I9b36846dfbaa01084bb053f0f4f3625313671e8e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
parser/yang-parser-spi/src/main/java/org/opendaylight/yangtools/yang/parser/spi/source/PrefixToModule.java

index 7be6315e3c9338ae00bc4c408389aa476f64d863..5a21c28bb9bf8cfd6c70c550efeaf9f4d08a7e9c 100644 (file)
@@ -19,6 +19,7 @@ import org.opendaylight.yangtools.yang.parser.spi.meta.ParserNamespace;
 public interface PrefixToModule extends ParserNamespace<String, QNameModule> {
     NamespaceBehaviour<String, QNameModule, @NonNull PrefixToModule> BEHAVIOUR =
             NamespaceBehaviour.global(PrefixToModule.class);
+    @Deprecated(since = "9.0.2", forRemoval = true)
     String DEFAULT_PREFIX = "";
 
     /**