TRUNK-4226: Performance - Method concatenates strings using + in a loop