Method concatenates strings using + in a loop

with trim()

http://findbugs.sourceforge.net/bugDescriptions.html#SBSC_USE_STRINGBUFFER_CONCATENATION

found using https://www.code-spotter.com/
Merge pull request #52 from chrisvdp/patch-3

Method concatenates strings using + in a loop