HHH-13851 Remove a dead code field from PojoEntityTuplizer

(cherry picked from commit 8043e49384)
This commit is contained in:
Sanne Grinovero 2020-02-06 11:22:02 +00:00 committed by gbadner
parent 8d73884cbf
commit e0be465f2c
1 changed files with 0 additions and 4 deletions

View File

@ -47,15 +47,11 @@ public class PojoEntityTuplizer extends AbstractEntityTuplizer {
private final boolean lifecycleImplementor; private final boolean lifecycleImplementor;
private final ReflectionOptimizer optimizer; private final ReflectionOptimizer optimizer;
private final boolean isBytecodeEnhanced;
public PojoEntityTuplizer(EntityMetamodel entityMetamodel, PersistentClass mappedEntity) { public PojoEntityTuplizer(EntityMetamodel entityMetamodel, PersistentClass mappedEntity) {
super( entityMetamodel, mappedEntity ); super( entityMetamodel, mappedEntity );
this.mappedClass = mappedEntity.getMappedClass(); this.mappedClass = mappedEntity.getMappedClass();
this.proxyInterface = mappedEntity.getProxyInterface(); this.proxyInterface = mappedEntity.getProxyInterface();
this.lifecycleImplementor = Lifecycle.class.isAssignableFrom( mappedClass ); this.lifecycleImplementor = Lifecycle.class.isAssignableFrom( mappedClass );
this.isBytecodeEnhanced = entityMetamodel.getBytecodeEnhancementMetadata().isEnhancedForLazyLoading();
String[] getterNames = new String[propertySpan]; String[] getterNames = new String[propertySpan];
String[] setterNames = new String[propertySpan]; String[] setterNames = new String[propertySpan];