Replaced single-character strings in StringBuffer.append() and replaced ...

...StringBuffer by StringBuilder where appropriate.