Prefer LHM over HashMap, and remove a stray synchronized keyword.