HHH-13496 Remove unused collection from EntityMetamodel

This commit is contained in:
Sanne Grinovero 2019-07-05 15:42:37 +01:00
parent 75fb7915f1
commit 26fafc0098
1 changed files with 0 additions and 6 deletions

View File

@ -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;
}