Change StringBuffer to StringBuilder.