HHH-13600 Extract Alias allocation from loop in AbstractCollectionPersister

This commit is contained in:
Sanne Grinovero 2019-08-28 11:08:01 +01:00
parent bcbfea7724
commit 3d715c0ae8
1 changed files with 2 additions and 1 deletions

View File

@ -1915,8 +1915,9 @@ public abstract class AbstractCollectionPersister
}
String[] result = new String[rawAliases.length];
final Alias alias = new Alias( suffix );
for ( int i = 0; i < rawAliases.length; i++ ) {
result[i] = new Alias( suffix ).toUnquotedAliasString( rawAliases[i] );
result[i] = alias.toUnquotedAliasString( rawAliases[i] );
}
return result;
}