Fix typos in javadoc (Thanks @mtbc)