Use StringBuilder instead of StringBuffer in Task.toString()