Add Empty.value()
[yangtools.git] / parser / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / import_ / RevisionImport.java
index 57f95eefe68fe4d8983b428179e02d298b749b58..ccc24d7175dba87fae79d507b40a624cb2f4247f 100644 (file)
@@ -65,7 +65,7 @@ final class RevisionImport {
 
                 final SourceIdentifier importedModuleIdentifier =
                     stmt.getFromNamespace(ModuleCtxToSourceIdentifier.class, importedModule);
-                stmt.addToNs(ImportedVersionNamespace.class, Empty.getInstance(), importedModuleIdentifier);
+                stmt.addToNs(ImportedVersionNamespace.class, Empty.value(), importedModuleIdentifier);
 
                 final QNameModule mod = InferenceException.throwIfNull(stmt.getFromNamespace(
                     ModuleCtxToModuleQName.class, importedModule), stmt, "Failed to find module of %s", importedModule);