Fix typos in javadoc
Formatting and typo fixes. No functional changes