BUG-9043: Remove use of CheckedFuture from YANG components
[yangtools.git] / yang / yang-model-export / src / test / java / org / opendaylight / yangtools / yang / model / export / test / SimpleModuleTest.java
index d1f4200239db915aba16e0f895a6df1bd0536a7b..c34ddae9299781a340f4c0dd6913e55a8ddebe7e 100644 (file)
@@ -86,7 +86,7 @@ public class SimpleModuleTest {
     }
 
     private void testSetOfModules(final Collection<SourceIdentifier> source) throws Exception {
-        final SchemaContext schemaContext = schemaContextFactory.createSchemaContext(source).checkedGet();
+        final SchemaContext schemaContext = schemaContextFactory.createSchemaContext(source).get();
         final File outDir = new File("target/collection");
         outDir.mkdirs();
         for (final Module module : schemaContext.getModules()) {