Use StringBuilder instead of StringBuffer when no concurrent access