Remove deprecated SchemaRepository.createSchemaContextFactory()
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / repo / SharedSchemaContextFactory.java
index 3b45991776bd2b3d07d374cd5263c7ab521de07c..466b0387fb6efd2d5791c138f51b0ab2e0fdbedd 100644 (file)
@@ -40,7 +40,6 @@ import org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactory;
 import org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration;
 import org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository;
 import org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException;
-import org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceFilter;
 import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
 import org.opendaylight.yangtools.yang.model.repo.api.StatementParserMode;
 import org.opendaylight.yangtools.yang.parser.impl.DefaultReactors;
@@ -62,14 +61,6 @@ final class SharedSchemaContextFactory implements SchemaContextFactory {
     private final @NonNull SchemaRepository repository;
     private final @NonNull SchemaContextFactoryConfiguration config;
 
-    // FIXME SchemaRepository should be the type for repository parameter instead of SharedSchemaRepository
-    //       (final implementation)
-    @Deprecated
-    SharedSchemaContextFactory(final @NonNull SharedSchemaRepository repository,
-            final @NonNull SchemaSourceFilter filter) {
-        this(repository, SchemaContextFactoryConfiguration.builder().setFilter(filter).build());
-    }
-
     SharedSchemaContextFactory(final @NonNull SchemaRepository repository,
         final @NonNull SchemaContextFactoryConfiguration config) {
         this.repository = requireNonNull(repository);