Fixed some typos in javadoc