YANGTOOLS-706: split out rfc8040-model-api
[yangtools.git] / yang / yang-parser-impl / src / test / java / org / opendaylight / yangtools / yang / thirdparty / plugin / CustomInferencePipeline.java
index 8cfbcd8fdf419b05100b1be7e942f789c67025bd..17a7067945bdaafb02f24924a802eee1b9d2cf40 100644 (file)
@@ -16,8 +16,7 @@ import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ext.CustomStatementPa
 public final class CustomInferencePipeline {
     public static final CrossSourceStatementReactor CUSTOM_REACTOR = new CustomStatementParserBuilder()
             .addDefaultRFC6020Bundles()
-            .addStatementSupport(ModelProcessingPhase.FULL_DECLARATION,
-                    new ThirdPartyExtensionStatementImpl.ThirdPartyExtensionSupport())
+            .addStatementSupport(ModelProcessingPhase.FULL_DECLARATION, ThirdPartyExtensionSupport.getInstance())
             .addNamespaceSupport(ModelProcessingPhase.FULL_DECLARATION, sourceLocal(ThirdPartyNamespace.class))
             .build();