[SPARK-2024] code formatting