fix javadoc whitespace and spelling