Remove unnecessary vars in StringCharBuffer