Reuse alias names generated by BasicLoader#generateSuffixes

Description

This method is using string interning, but I'm not persuaded that this was a good idea. Looking at it, we should be able to do much better by reusing the alias postfixes from a static cache; something simple like a static array should do.

 

P.S. noticed the same string patterns are used by QueryLoader

Environment

None

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure