Use StringBuilder instead of StringBuffer in private code