Bump upstreams
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / schemacache / SchemaSourceCache.java
index 7e8c8523143ea204fcf0282a4e33481a51d562af..f475872e34f18bf57295c01ae1eeff25914a38f1 100644 (file)
@@ -98,8 +98,8 @@ public final class SchemaSourceCache<T extends SchemaSourceRepresentation> exten
     public synchronized ListenableFuture<? extends T> getSource(final SourceIdentifier sourceIdentifier) {
         final YangModuleInfo yangModuleInfo = cachedSchemas.get(sourceIdentifier);
         if (yangModuleInfo != null) {
-            final YangTextSchemaSource yangTextSchemaSource = YangTextSchemaSource.delegateForByteSource(
-                    sourceIdentifier, yangModuleInfo.getYangTextByteSource());
+            final YangTextSchemaSource yangTextSchemaSource = YangTextSchemaSource.delegateForCharSource(
+                    sourceIdentifier, yangModuleInfo.getYangTextCharSource());
             return Futures.immediateFuture(representation.cast(yangTextSchemaSource));
         }