HHH-13600 Extract Alias allocation from loop in AbstractCollectionPersister
This commit is contained in:
parent
bcbfea7724
commit
3d715c0ae8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue