restored changes that broke conversion from String to StringBuffer
Merge pull request #2 from burtbeckwith/master

restored changes that broke conversion from String to StringBuffer