Bump to Neon
[transportpce.git] / test-common / src / main / java / org / opendaylight / transportpce / test / common / DataStoreContextImpl.java
index f0dc8f7ef8827a64080b88e1c34835a8692495ab..2b7a4d27b1b086860e34572d08820087e195a51f 100644 (file)
@@ -185,7 +185,7 @@ public class DataStoreContextImpl implements DataStoreContext {
         private SchemaContext getSchemaContext(List<YangModuleInfo> moduleInfos) {
             this.moduleInfoBackedCntxt.addModuleInfos(moduleInfos);
             Optional<SchemaContext> tryToCreateSchemaContext =
-                    this.moduleInfoBackedCntxt.tryToCreateSchemaContext().toJavaUtil();
+                    this.moduleInfoBackedCntxt.tryToCreateSchemaContext();
             if (!tryToCreateSchemaContext.isPresent()) {
                 LOG.error("Could not create the initial schema context. Schema context is empty");
                 throw new IllegalStateException();