static analysis change from String addition to StringBuffer. This is in a rarely used function but it keeps the static analyzer quiet.
replace String addition with StringBuffer
static analysis fix of potential resource leak when running SpawnControl conversion
static code analysis fixes thanks to sonar and findbugs