Bump upstreams
[netconf.git] / plugins / netconf-client-mdsal / src / main / java / org / opendaylight / netconf / client / mdsal / DeviceSources.java
index b2269870fd7250dde0d98685bf424e5185e0c7ea..d7d2d54a80201c5101c1de98ce31e844216d4066 100644 (file)
@@ -15,8 +15,8 @@ import java.util.stream.Collectors;
 import org.opendaylight.yangtools.concepts.Registration;
 import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.common.Revision;
-import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
-import org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource;
+import org.opendaylight.yangtools.yang.model.api.source.SourceIdentifier;
+import org.opendaylight.yangtools.yang.model.api.source.YangTextSource;
 import org.opendaylight.yangtools.yang.model.repo.spi.PotentialSchemaSource;
 import org.opendaylight.yangtools.yang.model.repo.spi.SchemaSourceProvider;
 import org.opendaylight.yangtools.yang.model.repo.spi.SchemaSourceRegistry;
@@ -27,10 +27,10 @@ import org.opendaylight.yangtools.yang.model.repo.spi.SchemaSourceRegistry;
 final class DeviceSources {
     private final Set<QName> requiredSources;
     private final Set<QName> providedSources;
-    private final SchemaSourceProvider<YangTextSchemaSource> sourceProvider;
+    private final SchemaSourceProvider<YangTextSource> sourceProvider;
 
     DeviceSources(final Set<QName> requiredSources, final Set<QName> providedSources,
-            final SchemaSourceProvider<YangTextSchemaSource> sourceProvider) {
+            final SchemaSourceProvider<YangTextSource> sourceProvider) {
         this.requiredSources = requireNonNull(requiredSources);
         this.providedSources = requireNonNull(providedSources);
         this.sourceProvider = requireNonNull(sourceProvider);
@@ -52,7 +52,7 @@ final class DeviceSources {
         return providedSources.stream()
             .map(DeviceSources::toSourceId)
             .map(sourceId -> schemaRegistry.registerSchemaSource(sourceProvider,
-                PotentialSchemaSource.create(sourceId, YangTextSchemaSource.class,
+                PotentialSchemaSource.create(sourceId, YangTextSource.class,
                     PotentialSchemaSource.Costs.REMOTE_IO.getValue())))
             .collect(Collectors.toUnmodifiableList());
     }