[SPARK3382] Fix scala style