@@ -231,22 +231,15 @@ public static List<Binding<JaxbEntityMappingsImpl>> transform(
231231 final List <Binding <JaxbEntityMappingsImpl >> transformations = XmlPreprocessor .preprocessHbmXml ( hbmXmlBindings , transformationState );
232232
233233 // build and perform a pass over the boot model building the rest of the transformation-state
234- BootModelPreprocessor .preprocessBooModel (
235- hbmXmlBindings ,
236- bootModel ,
237- serviceRegistry ,
238- transformationState
239- );
234+ BootModelPreprocessor .preprocessBooModel ( bootModel , transformationState );
240235
241236 // now we are ready to fully build the mapping.xml transformations
242237 for ( int i = 0 ; i < hbmXmlBindings .size (); i ++ ) {
243238 final HbmXmlTransformer hbmXmlTransformer = new HbmXmlTransformer (
244239 hbmXmlBindings .get ( i ),
245240 transformations .get ( i ),
246241 transformationState ,
247- bootModel ,
248- unsupportedFeatureHandling ,
249- serviceRegistry
242+ unsupportedFeatureHandling
250243 );
251244
252245 hbmXmlTransformer .performTransformation ();
@@ -260,10 +253,8 @@ public static List<Binding<JaxbEntityMappingsImpl>> transform(
260253 private final Binding <JaxbEntityMappingsImpl > mappingXmlBinding ;
261254
262255 private final TransformationState transformationState ;
263- private final MetadataImplementor bootModel ;
264256
265257 private final UnsupportedFeatureHandling unsupportedFeatureHandling ;
266- private final ServiceRegistry serviceRegistry ;
267258
268259 // todo (7.0) : use transformation-state instead
269260 private final Map <String ,JaxbEmbeddableImpl > jaxbEmbeddableByClassName = new HashMap <>();
@@ -274,15 +265,11 @@ private HbmXmlTransformer(
274265 Binding <JaxbHbmHibernateMapping > hbmXmlBinding ,
275266 Binding <JaxbEntityMappingsImpl > mappingXmlBinding ,
276267 TransformationState transformationState ,
277- MetadataImplementor bootModel ,
278- UnsupportedFeatureHandling unsupportedFeatureHandling ,
279- ServiceRegistry serviceRegistry ) {
268+ UnsupportedFeatureHandling unsupportedFeatureHandling ) {
280269 this .hbmXmlBinding = hbmXmlBinding ;
281270 this .mappingXmlBinding = mappingXmlBinding ;
282271 this .transformationState = transformationState ;
283- this .bootModel = bootModel ;
284272 this .unsupportedFeatureHandling = unsupportedFeatureHandling ;
285- this .serviceRegistry = serviceRegistry ;
286273 }
287274
288275
0 commit comments