Regenerate Java API and fixed typos reported by Yu Jin Kim.