[SPARK-3781] code Style format

i think method parameter should be in one line possibly, there is no necessary each param one line
:)