SONARJAVA-732 Fix FP on string concatenation in loop