BUG-4688: Rework SchemaContext module lookups
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / SubmoduleStatementImpl.java
index b57125fc936852f5093ccbb3214322ac108bda75..4ea6a4d35da58f7417e1cd71cf0df39637a74b58 100644 (file)
@@ -128,7 +128,7 @@ public class SubmoduleStatementImpl extends AbstractRootStatement<SubmoduleState
             final Optional<Date> revisionDate = maybeDate != null ? Optional.of(maybeDate) : DEFAULT_REVISION;
 
             final ModuleIdentifier submoduleIdentifier = ModuleIdentifierImpl.create(stmt.getStatementArgument(),
-                    Optional.empty(), revisionDate);
+                    revisionDate);
             return submoduleIdentifier;
         }