HHH-13496 Remove unused collection from EntityMetamodel
This commit is contained in:
parent
75fb7915f1
commit
26fafc0098
|
@ -572,7 +572,6 @@ public class EntityMetamodel implements Serializable {
|
|||
private boolean hadInMemoryGeneration;
|
||||
private boolean hadInDatabaseGeneration;
|
||||
|
||||
private List<InMemoryValueGenerationStrategy> inMemoryStrategies;
|
||||
private List<InDatabaseValueGenerationStrategy> inDatabaseStrategies;
|
||||
|
||||
public CompositeGenerationStrategyPairBuilder(Property mappingProperty) {
|
||||
|
@ -585,11 +584,6 @@ public class EntityMetamodel implements Serializable {
|
|||
}
|
||||
|
||||
private void add(InMemoryValueGenerationStrategy inMemoryStrategy) {
|
||||
if ( inMemoryStrategies == null ) {
|
||||
inMemoryStrategies = new ArrayList<>();
|
||||
}
|
||||
inMemoryStrategies.add( inMemoryStrategy );
|
||||
|
||||
if ( inMemoryStrategy.getGenerationTiming() != GenerationTiming.NEVER ) {
|
||||
hadInMemoryGeneration = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue