fix some typos in java enum