Replace instances of StringBuffer with StringBuilder
Replace instances of Hashtable with HashMap
Merge pull request #2863 from federicobond/migrate-unsynchronized

Migrate to unsynchronized data structures