Repeated instantiation of typeProvider
[mdsal.git] / binding / mdsal-binding-generator-impl / src / main / java / org / opendaylight / mdsal / binding / generator / impl / BindingGeneratorImpl.java
index 6f64e70d158796339f4d1a79701a507cd813c35f..33bd1b18a7b85d69e45111a738a2c4689f439e93 100644 (file)
@@ -210,7 +210,6 @@ public class BindingGeneratorImpl implements BindingGenerator {
         checkArgument(context != null, "Schema Context reference cannot be NULL.");
         checkState(context.getModules() != null, "Schema Context does not contain defined modules.");
         schemaContext = context;
-        typeProvider = new TypeProviderImpl(context);
         final Set<Module> modules = context.getModules();
         return generateTypes(context, modules);
     }