Replace StringBuffer by StringBuilder