Rsolve last PMD warning

use char Array instead of StringBuilder