Using the StringBuilder is generally better choice than using "+" with the strings in for loop. http://findbugs.sourceforge.net/bugDescriptions.html#SBSC_USE_STRINGBUFFER_CONCATENATION