SPARK-2636: fix java doc