Remove getSemanticVersion()
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / ModuleImport.java
index 3e353cd0794dfe8c451735f2c86f46f794a023ce..30ff0197c1abda456e76c5e12e354f9a7fe1efa6 100644 (file)
@@ -9,7 +9,6 @@ package org.opendaylight.yangtools.yang.model.api;
 
 import java.util.Optional;
 import org.eclipse.jdt.annotation.NonNull;
-import org.opendaylight.yangtools.concepts.SemVer;
 import org.opendaylight.yangtools.yang.common.Revision;
 import org.opendaylight.yangtools.yang.model.api.stmt.ImportEffectiveStatement;
 
@@ -39,15 +38,6 @@ public interface ModuleImport extends DocumentedNode, EffectiveStatementEquivale
      */
     Optional<Revision> getRevision();
 
-    /**
-     * Returns the semantic version to import.
-     *
-     * @return Semantic version of module to import
-     * @deprecated Semantic version imports are deprecated.
-     */
-    @Deprecated(since = "8.0.4", forRemoval = true)
-    Optional<SemVer> getSemanticVersion();
-
     /**
      * Returns the prefix associated with the imported module.
      *