Fix typos in javadoc