[SPARK-4668] Fix some documentation typos.

This line failed `scalastyle` because it's too long.