Fix grammatical issues in JavaDoc