HSEARCH-1420 Avoid using StringBuffer(s)