Replace StringBuffer to StringBuilder

StringBuffer is synchronized, StringBuilder is not.
Replacing StringBuffer to StringBuilder could make a tiny performance optimization.