Refactor ConfigListWarningNamespace
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / list / ConfigListWarningNamespace.java
index ed816e12ee10daf6dffdf09f7a91b70ead219e6d..8baf2cdacfbb8b53ddd6744cb3dcac3079dcf28a 100644 (file)
@@ -11,9 +11,10 @@ import com.google.common.annotations.Beta;
 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.source.StatementSourceReference;
 
 @Beta
-public interface ConfigListWarningNamespace extends IdentifierNamespace<Boolean, Boolean> {
-    NamespaceBehaviour<Boolean, Boolean, @NonNull ConfigListWarningNamespace> BEHAVIOUR =
-            NamespaceBehaviour.statementLocal(ConfigListWarningNamespace.class);
+public interface ConfigListWarningNamespace extends IdentifierNamespace<StatementSourceReference, Boolean> {
+    NamespaceBehaviour<StatementSourceReference, Boolean, @NonNull ConfigListWarningNamespace> BEHAVIOUR =
+            NamespaceBehaviour.global(ConfigListWarningNamespace.class);
 }