Switched StringBuffer to StringBuilder whenever a local usage (and not subsequently used in an API) as per LANG-541