Remove EffectiveSchemaContext.resolveSchemaContext()
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / reactor / EffectiveSchemaContext.java
index 13e7700cf423852aab67b7153782607ec90e351d..b284ffa602d9bb6cf3122cf1f16902e6c23d0c3c 100644 (file)
@@ -14,7 +14,6 @@ import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 import org.opendaylight.yangtools.yang.model.api.Module;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
 import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement;
 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
 import org.opendaylight.yangtools.yang.model.api.stmt.ModuleStatement;
@@ -45,16 +44,6 @@ public final class EffectiveSchemaContext extends SimpleSchemaContext {
         return new EffectiveSchemaContext(modules, rootDeclaredStatements, rootEffectiveStatements);
     }
 
-    /**
-     * Resolve SchemaContext for a set of modules.
-     *
-     * @deprecated Use {@link SimpleSchemaContext#forModules(Set)} instead.
-     */
-    @Deprecated
-    public static SchemaContext resolveSchemaContext(final Set<Module> modules) {
-        return SimpleSchemaContext.forModules(modules);
-    }
-
     @VisibleForTesting
     public List<DeclaredStatement<?>> getRootDeclaredStatements() {
         return rootDeclaredStatements;